Skip to content

Commit

Permalink
Run on failure
Browse files Browse the repository at this point in the history
  • Loading branch information
jsoref committed Mar 6, 2024
1 parent c31d40c commit 1df2826
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/maybe-fail.yml
Expand Up @@ -39,7 +39,7 @@ jobs:
echo
) | tee -a "$GITHUB_STEP_SUMMARY"
- name: If action failed
if: steps.maybe-fail.outcome == 'failure'
if: failure() && steps.maybe-fail.outcome == 'failure'
run: |
echo 'Something must be done because maybe-fail failed!' | tee -a "$GITHUB_STEP_SUMMARY"
- name: Next Step
Expand Down

0 comments on commit 1df2826

Please sign in to comment.