diff --git a/.github/workflows/workflow-tester99.yml b/.github/workflows/workflow-tester99.yml new file mode 100644 index 0000000000..3250e6524c --- /dev/null +++ b/.github/workflows/workflow-tester99.yml @@ -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 }} \ No newline at end of file