Skip to content

Commit

Permalink
add workflow test 99
Browse files Browse the repository at this point in the history
  • Loading branch information
GuillaumeFalourd committed Aug 15, 2024
1 parent 2f2cbc6 commit aff2e87
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/workflow-tester99.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Test 99 # https://stackoverflow.com/questions/78875784/github-action-stage-not-triggering-if-previous-stage-failed

on:
workflow_dispatch:

jobs:
some-test:
runs-on: ubuntu-latest
steps:
- name: Force job failure
run: exit 1

some-test-rerun:
needs: [some-test]
runs-on: ubuntu-latest
if: always()
steps:
- name: Force job failure
run: |
echo "retry"
echo "result" ${{ needs.some-test.result }}
echo "status" ${{ needs.some-test.status }}

0 comments on commit aff2e87

Please sign in to comment.