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