File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : tmp timeout probe
2+ on :
3+ push :
4+ branches : ['tmp/ci-timeout-probe']
5+ permissions : {}
6+ jobs :
7+ probe :
8+ runs-on : ubuntu-latest
9+ timeout-minutes : 1
10+ outputs :
11+ sleeper : ${{ steps.sleeper.outcome }}
12+ marker : ${{ steps.sleeper.outputs.marker }}
13+ steps :
14+ - name : sleep past the budget
15+ id : sleeper
16+ run : |
17+ echo "marker=set-before-sleep" >> "$GITHUB_OUTPUT"
18+ sleep 300
19+ - name : always step
20+ if : ${{ always() }}
21+ run : echo "ALWAYS-STEP-RAN"
22+ - name : cancelled step
23+ if : ${{ cancelled() }}
24+ run : echo "CANCELLED-STEP-RAN"
25+ - name : failure step
26+ if : ${{ failure() }}
27+ run : echo "FAILURE-STEP-RAN"
28+ reporter :
29+ needs : probe
30+ if : ${{ always() }}
31+ runs-on : ubuntu-latest
32+ steps :
33+ - run : |
34+ echo "PROBE-RESULT=${{ needs.probe.result }}"
35+ echo "PROBE-OUTPUT-sleeper='${{ needs.probe.outputs.sleeper }}'"
36+ echo "PROBE-OUTPUT-marker='${{ needs.probe.outputs.marker }}'"
You can’t perform that action at this time.
0 commit comments