Skip to content

Commit

Permalink
Add sleep step on failure
Browse files Browse the repository at this point in the history
  • Loading branch information
yoland68 committed May 17, 2024
1 parent 253e5f5 commit ea9e9a9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -404,6 +404,10 @@ runs:
name: app-logs-${{ github.job }}-${{ inputs.os }}-${{inputs.workflow_name}}-${{ github.run_id }}
path: ${{ github.workspace }}/application.log

- name: Sleep for 10 minutes on failure
if: failure()
run: sleep 600

## Mac/Linux Cleanup Steps
- name: Cleanup
if: ${{ inputs.os != 'windows' && ( success() || failure() ) }}
Expand Down

0 comments on commit ea9e9a9

Please sign in to comment.