Skip to content

Commit

Permalink
ci(build): Add matrix summary job
Browse files Browse the repository at this point in the history
  • Loading branch information
gabe565 committed Apr 23, 2024
1 parent 8fce2a4 commit 04193e8
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -87,3 +87,14 @@ jobs:
TIMESCALE_VERSION=${{ steps.timescale.outputs.version }}
cache-from: type=gha
cache-to: type=gha,mode=max

# Summarize matrix https://github.community/t/status-check-for-a-matrix-jobs/127354/7
build-success:
name: Build Successful
runs-on: ubuntu-latest
needs: build
if: ${{ always() }}
steps:
- if: ${{ contains(needs.*.result, 'failure') || contains(needs.*.result, 'cancelled') }}
name: Check matrix status
run: exit 1

0 comments on commit 04193e8

Please sign in to comment.