diff --git a/.github/workflows/workflow-tester61.yml b/.github/workflows/workflow-tester61.yml index c14233103c..1248566ac0 100644 --- a/.github/workflows/workflow-tester61.yml +++ b/.github/workflows/workflow-tester61.yml @@ -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 }} \ No newline at end of file diff --git a/.github/workflows/workflow-tester62.yml b/.github/workflows/workflow-tester62.yml index 366258c831..f69e7378bf 100644 --- a/.github/workflows/workflow-tester62.yml +++ b/.github/workflows/workflow-tester62.yml @@ -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: