blob: 20f8e811c0a4b0b8f75e5db5a17420973dce35dc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
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'
|