Skip to content

Commit 94ece99

Browse files
authored
Merge pull request #9 from cryspen/wysiwys/redo-workflow
Specify antecedents
2 parents fda8fef + 89b6fdc commit 94ece99

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/complex.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,12 +44,12 @@ jobs:
4444

4545
complex-status:
4646
if: ${{ always() }}
47-
needs: [third]
47+
needs: [first, second, third]
4848
runs-on: ubuntu-latest
4949
steps:
5050
- name: Successful
5151
if: ${{ !(contains(needs.*.result, 'failure')) }}
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)