Correction erreurs de syntaxe #3
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test workflow | ||
on: | ||
workflow_call: | ||
inputs: | ||
env: | ||
required: true | ||
job-1: | ||
name: Some job no. 1 | ||
env: ${{ inputs.env }} | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: First step: show variable | ||
run: | | ||
echo $VAR_1 | ||
job-2: | ||
name: Some job no. 2 | ||
env: ${{ inputs.env }} | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: First step: show variable | ||
run: | | ||
echo $VAR_2 | ||