e793d03f4b
* feat: add more steps context support - Add step outcome - Remove step success in favour of conclusion * feat: add conclusion and outcome steps context tests Add corresponding tests and extend pkg/runner/expression.go vmSteps() to handle steps context conclusion and outcome iota as strings. Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
14 lines
315 B
YAML
14 lines
315 B
YAML
name: outcome
|
|
on: push
|
|
|
|
jobs:
|
|
check:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- id: first
|
|
run: exit 0
|
|
- id: second
|
|
continue-on-error: true
|
|
run: exit 1
|
|
- run: echo '${{ steps.first.outcome }}' | grep 'success'
|
|
- run: echo '${{ steps.second.outcome }}' | grep 'failure'
|