Skip to content

Commit

Permalink
Removed inputs
Browse files Browse the repository at this point in the history
  • Loading branch information
AErmie committed Jul 15, 2024
1 parent 8fbdb14 commit 1445481
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/workflow-logic-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ run-name: Workflow Logic Test

on:
workflow_dispatch:
inputs:
fail-job-2:
description: 'Job2 should fail?'
type: boolean
required: true
# inputs:
# fail-job-2:
# description: 'Job2 should fail?'
# type: boolean
# required: true

permissions:
contents: read # This is required for actions/checkout
Expand All @@ -28,12 +28,12 @@ jobs:
uses: actions/checkout@v4

- name: Fail Job = TRUE
if: ${{ github.event.inputs.fail-job-2 == true }}
# if: ${{ github.event.inputs.fail-job-2 == true }}
run: exit 1

- name: Fail Job = FALSE
if: ${{ github.event.inputs.fail-job-2 == false }}
run: exit 0
# - name: Fail Job = FALSE
# if: ${{ github.event.inputs.fail-job-2 == false }}
# run: exit 0

job3:
name: Job 3
Expand Down

0 comments on commit 1445481

Please sign in to comment.