Skip to content

Commit

Permalink
Yield failure on cancellation
Browse files Browse the repository at this point in the history
  • Loading branch information
momo5502 committed Feb 4, 2025
1 parent 33f5853 commit bde3b8b
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -334,10 +334,6 @@ jobs:
with:
name: 'Temp *'

- name: Pipeline suceeded
if: ${{ !(contains(needs.*.result, 'failure')) }}
run: exit 0

- name: Pipeline failed
if: ${{ contains(needs.*.result, 'failure') }}
if: ${{ failure() || cancelled() }}
run: exit 1

0 comments on commit bde3b8b

Please sign in to comment.