Skip to content

Commit 89b6fdc

Browse files
committed
return correct exit code on failure
1 parent 757b808 commit 89b6fdc

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/complex.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,4 +52,4 @@ jobs:
5252
run: exit 0
5353
- name: Failing
5454
if: ${{ (contains(needs.*.result, 'failure')) }}
55-
run: exit 0
55+
run: exit 1

.github/workflows/simple.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,4 +31,4 @@ jobs:
3131
run: exit 0
3232
- name: Failing
3333
if: ${{ (contains(needs.*.result, 'failure')) }}
34-
run: exit 0
34+
run: exit 1

0 commit comments

Comments
 (0)