From 360743e6a8b32efc711c59f918bc55e8a8d0729c Mon Sep 17 00:00:00 2001 From: Charles Cooper Date: Wed, 6 Sep 2023 15:45:33 -0400 Subject: [PATCH] fix failure check --- .github/workflows/build.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 9e9a291342..01102645af 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -111,4 +111,5 @@ jobs: needs: [windows-build, unix-build] steps: - name: check that all builds succeeded - run: exit 0 + if: ${{ contains(needs.*.result, 'failure') }} + run: exit 1