From 19d7851b65774b50db5b158ed983deb6a056e533 Mon Sep 17 00:00:00 2001 From: bobslept <38557801+bobslept@users.noreply.github.com> Date: Fri, 1 Dec 2023 00:21:34 +0100 Subject: [PATCH] fix(ci): never skip successful builds check (#696) --- .github/workflows/build.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index b366390dfb0..b09dc7caf1c 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -206,9 +206,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