diff options
Diffstat (limited to 'pkg/runner/testdata/act-composite-env-test/action1/action.yml')
-rw-r--r-- | pkg/runner/testdata/act-composite-env-test/action1/action.yml | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/pkg/runner/testdata/act-composite-env-test/action1/action.yml b/pkg/runner/testdata/act-composite-env-test/action1/action.yml new file mode 100644 index 0000000..e027ac6 --- /dev/null +++ b/pkg/runner/testdata/act-composite-env-test/action1/action.yml @@ -0,0 +1,21 @@ +name: action1 +description: action1 +runs: + using: composite + steps: + - name: env.COMPOSITE_OVERRIDE != '1' + run: exit 1 + if: env.COMPOSITE_OVERRIDE != '1' + shell: bash + - name: env.JOB != '1' + run: exit 1 + if: env.JOB != '1' + shell: bash + - name: env.GLOBAL != '1' + run: exit 1 + if: env.GLOBAL != '1' + shell: bash + - uses: ./act-composite-env-test/action2 + env: + COMPOSITE_OVERRIDE: "2" + COMPOSITE: "1" |