mirror of
https://gitea.com/gitea/act
synced 2024-11-27 07:08:57 +00:00
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>
15 lines
315 B
YAML
15 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'
|