Skip to content

Commit 7832b6a

Browse files
authored
Use single job to track CI status (microsoft#3106)
1 parent dc4ecf5 commit 7832b6a

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

.github/workflows/CI.yml

+14
Original file line numberDiff line numberDiff line change
@@ -86,3 +86,17 @@ jobs:
8686

8787
- run: yarn bootstrap
8888
- run: yarn build
89+
90+
required:
91+
runs-on: ubuntu-latest
92+
if: ${{ always() }}
93+
needs:
94+
- tests
95+
- windows
96+
97+
steps:
98+
- name: Check required jobs
99+
env:
100+
NEEDS: ${{ toJson(needs) }}
101+
run: |
102+
! echo $NEEDS | jq -e 'to_entries[] | { job: .key, result: .value.result } | select(.result != "success")'

0 commit comments

Comments
 (0)