Skip to content

Commit

Permalink
Add workflow success|failure experiment mod
Browse files Browse the repository at this point in the history
  • Loading branch information
JonJagger committed May 13, 2024
1 parent bd8a2c5 commit 1c726f7
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ jobs:
- name: step-1 from job-1
run:
echo Hello from job-1, step-1
exit 42
#exit 42
exit 1

- name: step-2 from job-1
# if: ${{ success() || failure() }}
Expand All @@ -33,4 +34,5 @@ jobs:
echo Hello from job-2, step-2


# plain exit-42 on job-1,step-1 and success()||failure() on job-1,step-2 means job-2 DOES run
# plain exit-42 on job-1,step-1 and success()||failure() on job-1,step-2 means job-2 DOES run
# plain exit-42 on job-1,step-1 and NO success()||failure() on job-1,step-2 means job-1,step-2 DOES run, job-2 DOES run

0 comments on commit 1c726f7

Please sign in to comment.