Skip to content

Commit

Permalink
drop me
Browse files Browse the repository at this point in the history
  • Loading branch information
jetexe committed Sep 9, 2024
1 parent 686229f commit 7a44203
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -137,3 +137,12 @@ jobs:
with:
run: echo "Use job.status variable to check the job status (success, failure or cancelled)"
post: if [ "${{ job.status }}" = "success" ]; then echo "Test passed"; else exit 1; fi

- name: Post run condition failure
run: exit 1

- name: Post run condition failure
uses: ./
if: failure()
with:
post: if [ "${{ job.status }}" = "failure" ]; then echo "Test passed"; else exit 1; fi

0 comments on commit 7a44203

Please sign in to comment.