Skip to content

Commit

Permalink
update workflow-tester 61-62
Browse files Browse the repository at this point in the history
Signed-off-by: Guillaume Falourd <[email protected]>
  • Loading branch information
GuillaumeFalourd committed Oct 14, 2022
1 parent 163a0b5 commit d267c16
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/workflow-tester61.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:
required: true

jobs:
job1:
main:
uses: GuillaumeFalourd/poc-github-actions/.github/workflows/workflow-tester62.yml@main
with:
stg_image_build: ${{ inputs.push_to_stg }}
6 changes: 3 additions & 3 deletions .github/workflows/workflow-tester62.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,20 +10,20 @@ on:
required: true

jobs:
job1: # will always run
reusable-job1: # will always run
runs-on: ubuntu-latest
steps:
- run: |
echo ${{ inputs.stg_image_build }}
job2: # will only run on a workflow_dispatch event, if stg_image_build input is true
reusable-job2: # will only run on a workflow_dispatch event, if stg_image_build input is true
runs-on: ubuntu-latest
if: ${{ inputs.stg_image_build }}
steps:
- run: |
echo ${{ inputs.stg_image_build }}
job3: # will only run on a workflow_dispatch event, if stg_image_build input is false
reusable-job3: # will only run on a workflow_dispatch event, if stg_image_build input is false
runs-on: ubuntu-latest
if: ${{ ! inputs.stg_image_build }}
steps:
Expand Down

0 comments on commit d267c16

Please sign in to comment.