From e780b3e5bb3654a8dfc81ca7ffeee4bbc8d1fd4a Mon Sep 17 00:00:00 2001 From: Adin Ermie Date: Mon, 15 Jul 2024 13:27:55 -0400 Subject: [PATCH] Testing toggle --- .github/workflows/workflow-logic-test.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/workflow-logic-test.yml b/.github/workflows/workflow-logic-test.yml index 9a4c161..cf14e97 100644 --- a/.github/workflows/workflow-logic-test.yml +++ b/.github/workflows/workflow-logic-test.yml @@ -28,9 +28,13 @@ jobs: - name: Checkout uses: actions/checkout@v4 - - name: Fail Job + - name: Fail Job = ${{ github.event.inputs.fail-job-2 }} if: ${{ github.event.inputs.fail-job-2 }} run: exit 1 + + - name: Fail Job = ${{ github.event.inputs.fail-job-2 }} + if: ${{ ! github.event.inputs.fail-job-2 }} + run: exit 0 job3: name: Job 3