Skip to content

Commit

Permalink
Check for failure
Browse files Browse the repository at this point in the history
  • Loading branch information
jsoref committed Mar 6, 2024
1 parent c841278 commit 34e094c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion use-maybe-fail/action.yml
Expand Up @@ -23,7 +23,7 @@ runs:
return-code: ${{ inputs.return-code }}
continue-on-error: ${{ inputs.continue-on-error }}
- id: report-outcome
if: (success() || failure()) && steps.maybe-fail.outcome == 'failed'
if: (success() || failure()) && steps.maybe-fail.outcome == 'failure'
run: |
echo 'Something must be done because maybe-fail failed!' | tee -a "$GITHUB_STEP_SUMMARY"
shell: bash

0 comments on commit 34e094c

Please sign in to comment.