Skip to content

Commit

Permalink
ci(fix): catch canceled jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
DerekRoberts committed Dec 4, 2024
1 parent f509c2e commit dc95d95
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ jobs:
if: always()
runs-on: ubuntu-latest
steps:
- if: contains(needs.*.result, 'canceled|failure')
- if: contains(needs.*.result, 'failure')||contains(needs.*.result, 'canceled')
run: echo "At least one job has failed." && exit 1
- run: echo "Success!"

0 comments on commit dc95d95

Please sign in to comment.