fix: set composite outputs on failure (#945)
fix: conclusion and outcome after error with failure condition fix: continue-on-error doesn't work correctly for composite actions
This commit is contained in:
13
pkg/runner/testdata/actions/composite-fail-with-output/action.yml
vendored
Normal file
13
pkg/runner/testdata/actions/composite-fail-with-output/action.yml
vendored
Normal file
@@ -0,0 +1,13 @@
|
||||
outputs:
|
||||
customoutput:
|
||||
value: my-customoutput-${{ steps.random-color-generator.outputs.SELECTED_COLOR }}
|
||||
runs:
|
||||
using: composite
|
||||
steps:
|
||||
- name: Set selected color
|
||||
run: echo '::set-output name=SELECTED_COLOR::green'
|
||||
id: random-color-generator
|
||||
shell: bash
|
||||
- name: fail
|
||||
run: exit 1
|
||||
shell: bash
|
Reference in New Issue
Block a user