diff options
Diffstat (limited to 'pkg/runner/testdata/composite-fail-with-output/push.yml')
-rw-r--r-- | pkg/runner/testdata/composite-fail-with-output/push.yml | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/pkg/runner/testdata/composite-fail-with-output/push.yml b/pkg/runner/testdata/composite-fail-with-output/push.yml new file mode 100644 index 0000000..b167d00 --- /dev/null +++ b/pkg/runner/testdata/composite-fail-with-output/push.yml @@ -0,0 +1,14 @@ +name: composite-fail-with-output
+on: push
+
+jobs:
+ test-for-output:
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v2
+ - uses: ./actions/composite-fail-with-output
+ id: composite-fail-with-output
+ continue-on-error: true
+ - run: |
+ echo ${{steps.composite-fail-with-output.outputs.customoutput}}
+ exit ${{steps.composite-fail-with-output.outputs.customoutput == 'my-customoutput-green' && '0' || '1'}}
\ No newline at end of file |