Skip to content

Commit 2924bfc

Browse files
committed
chore: added summary job to build-ci action
so that we have a job that can be referenced e.g. for required actions (matrix jobs can't be referenced by name, because the name is dynamically generated)
1 parent e1011ca commit 2924bfc

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

.github/workflows/build_ci.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,3 +85,16 @@ jobs:
8585
verbose: true
8686
env:
8787
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
88+
build-ci-complete:
89+
name: Build CI Complete
90+
needs: build-ci
91+
runs-on: ubuntu-latest
92+
if: always()
93+
steps:
94+
- name: Check build-ci matrix result
95+
run: |
96+
if [ "${{ needs.build-ci.result }}" != "success" ]; then
97+
echo "Some build-ci matrix jobs failed!"
98+
exit 1
99+
fi
100+
echo "All build-ci matrix jobs passed!"

0 commit comments

Comments
 (0)