summaryrefslogtreecommitdiffstats
path: root/pkg/runner/testdata/act-composite-env-test/action2/action.yml
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/runner/testdata/act-composite-env-test/action2/action.yml')
-rw-r--r--pkg/runner/testdata/act-composite-env-test/action2/action.yml21
1 files changed, 21 insertions, 0 deletions
diff --git a/pkg/runner/testdata/act-composite-env-test/action2/action.yml b/pkg/runner/testdata/act-composite-env-test/action2/action.yml
new file mode 100644
index 0000000..8716838
--- /dev/null
+++ b/pkg/runner/testdata/act-composite-env-test/action2/action.yml
@@ -0,0 +1,21 @@
+name: action2
+description: actions2
+runs:
+ using: composite
+ steps:
+ - name: env.COMPOSITE_OVERRIDE != '2'
+ run: exit 1
+ if: env.COMPOSITE_OVERRIDE != '2'
+ shell: bash
+ - name: env.COMPOSITE != '1'
+ run: exit 1
+ if: env.COMPOSITE != '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