From 253e5f504d26409d7cceafc105e35854cdfba97b Mon Sep 17 00:00:00 2001 From: Yoland Y <4950057+yoland68@users.noreply.github.com> Date: Fri, 17 May 2024 15:03:57 -0700 Subject: [PATCH] Add upload artifact steps for output files and log file --- action.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/action.yml b/action.yml index 1241ee1..35ef519 100644 --- a/action.yml +++ b/action.yml @@ -391,6 +391,19 @@ runs: "end_time" = ${{ steps.end_time_win.outputs.end_time }} } | ConvertTo-Json) + - name: Upload Output Files + uses: actions/upload-artifact@v4 + with: + name: output-files-${{ github.job }}-${{ inputs.os }}-${{inputs.workflow_name}}-${{ github.run_id }} + path: ${{ github.workspace }}/output/** + + - name: Upload log file + uses: actions/upload-artifact@v4 + if: ${{ success() || failure() }} + with: + name: app-logs-${{ github.job }}-${{ inputs.os }}-${{inputs.workflow_name}}-${{ github.run_id }} + path: ${{ github.workspace }}/application.log + ## Mac/Linux Cleanup Steps - name: Cleanup if: ${{ inputs.os != 'windows' && ( success() || failure() ) }}