From 9421d13fa8b7d2d520cba6dfd2cfb9f2be57ea33 Mon Sep 17 00:00:00 2001 From: Tom - Henry Coursow Date: Sat, 15 Jul 2023 12:03:33 +0200 Subject: [PATCH] Add .gitea/workflows/bug.yml --- .gitea/workflows/bug.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .gitea/workflows/bug.yml 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