From 04193e82798869c4e6d27f2ffe9d0c46d42ad368 Mon Sep 17 00:00:00 2001 From: Gabe Cook Date: Tue, 23 Apr 2024 16:21:23 -0500 Subject: [PATCH] ci(build): Add matrix summary job --- .github/workflows/build.yaml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 1b71773..ca5bbad 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -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