From d7f29187ef253beb097bb88d7337c61c9db4d44d Mon Sep 17 00:00:00 2001 From: Robert Sturla Date: Fri, 1 Dec 2023 11:33:40 +0000 Subject: [PATCH] fix(ci): never skip successful builds check (#436) --- .github/workflows/build.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 511d5b8a..2cf41f2b 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -243,9 +243,14 @@ jobs: check: name: Check all builds successful + if: ${{ !cancelled() }} runs-on: ubuntu-latest needs: [push-ghcr] steps: + - name: Exit on failure + if: ${{ needs.push-ghcr.result == 'failure' }} + shell: bash + run: exit 1 - name: Exit shell: bash run: exit 0