Skip to content

Commit

Permalink
Merge b0edca5 into fcd4ec9
Browse files Browse the repository at this point in the history
  • Loading branch information
Mogyuchi authored Jun 22, 2024
2 parents fcd4ec9 + b0edca5 commit 645d5a4
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 7 deletions.
20 changes: 13 additions & 7 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,17 @@ jobs:
test1:
runs-on: ubuntu-latest
steps:
- run: exit 1
continue-on-error: true
- run: exit 1
continue-on-error: true
- run: exit 1
continue-on-error: true
- run: exit 0
- id: step1
run: exit 0
- id: step2
if: ${{ success() || contains(fromJson('["success", "failure"]'),steps.step1.outcome) }}
run: exit 1
- id: step3
if: ${{ success() || contains(fromJson('["success", "failure"]'),steps.step2.outcome) }}
run: exit 0
- if: ${{ success() || contains(fromJson('["success", "failure"]'),steps.step3.outcome) }}
run: exit 0
test2:
runs-on: ubuntu-latest
steps:
Expand All @@ -37,5 +42,6 @@ jobs:
- id: step2
run: exit 0
continue-on-error: true
- if: contains(steps.*.outcome, 'failure')
- name: 'Fail this job if any step has failed'
if: contains(steps.*.outcome, 'failure')
run: exit 1
1 change: 1 addition & 0 deletions test
Original file line number Diff line number Diff line change
Expand Up @@ -35,3 +35,4 @@ test
test
test
test
test

0 comments on commit 645d5a4

Please sign in to comment.