File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -12,21 +12,28 @@ jobs:
1212 runs-on : ubuntu-latest
1313 steps :
1414 - uses : actions/checkout@v2
15- - name : Wait on check
16- id : wait
15+ - name : Wait for Style Test
16+ id : wait1
1717 uses : fountainhead/action-wait-for-check@v1.0.0
1818 with :
1919 token : ${{ secrets.GITHUB_TOKEN }}
20- checkName : " Test End "
20+ checkName : " Style Test "
2121 ref : ${{ github.event.push_request.head.sha || github.sha }}
22- - name : Fail
23- if : ${{ steps.wait.outputs.conclusion != 'success' }}
24- run : exit 1
22+ - name : Wait for Types Test
23+ id : wait2
24+ uses : fountainhead/action-wait-for-check@v1.0.0
25+ with :
26+ token : ${{ secrets.GITHUB_TOKEN }}
27+ checkName : " Types Test"
28+ ref : ${{ github.event.push_request.head.sha || github.sha }}
29+ outputs :
30+ conclusion : ${{ steps.wait1.outputs.conclusion == 'success' && steps.wait2.outputs.conclusion == 'success' }}
2531
2632 publish :
2733 name : Publish
2834 runs-on : ubuntu-latest
2935 needs : wait
36+ if : ${{ needs.wait.outputs.conclusion == 'true' }}
3037 steps :
3138 - uses : actions/checkout@v2
3239 - uses : actions/setup-python@v2
You can’t perform that action at this time.
0 commit comments