Skip to content

Commit

Permalink
Add upload artifact steps for output files and log
Browse files Browse the repository at this point in the history
file
  • Loading branch information
yoland68 committed May 17, 2024
1 parent 830f1f8 commit 253e5f5
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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() ) }}
Expand Down

0 comments on commit 253e5f5

Please sign in to comment.