diff --git a/.gitea/workflows/bug.yml b/.gitea/workflows/bug.yml new file mode 100644 index 0000000..9f47607 --- /dev/null +++ b/.gitea/workflows/bug.yml @@ -0,0 +1,17 @@ +name: Reproduction of "jobs..if" bug +on: push + +jobs: + failing: + runs-on: ubuntu-latest + steps: + - name: Let the job fail + run: exit 1 + + report: + runs-on: ubuntu-latest + needs: failing + if: ${{ failure() }} + steps: + - name: Execute + run: echo This should run... \ No newline at end of file