Skip to content

Commit

Permalink
Testing toggle
Browse files Browse the repository at this point in the history
  • Loading branch information
AErmie committed Jul 15, 2024
1 parent f8465fd commit e780b3e
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/workflow-logic-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e780b3e

Please sign in to comment.