From 80176028280e60eb9f00a39bdd8c0434d3beab3c Mon Sep 17 00:00:00 2001 From: Maurice Heumann Date: Tue, 4 Feb 2025 11:26:08 +0100 Subject: [PATCH] Yield failure on cancellation --- .github/workflows/build.yml | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 99e511d3..2957141a 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -334,10 +334,6 @@ jobs: with: name: 'Temp *' - - name: Pipeline suceeded - if: ${{ !(contains(needs.*.result, 'failure')) }} - run: exit 0 - - name: Pipeline failed - if: ${{ contains(needs.*.result, 'failure') }} + if: ${{ contains(needs.*.result, 'failure') || contains(needs.*.result, 'cancelled') }} run: exit 1