From 332baee34235c9de3ca1a854816d5315074a9ba6 Mon Sep 17 00:00:00 2001 From: Robert Haimerl Date: Thu, 18 Jul 2024 10:40:46 +0200 Subject: [PATCH] Prevent the Portability Workflow from Failing Incorrectly (#885) --- .github/workflows/upgrade.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/upgrade.yml b/.github/workflows/upgrade.yml index 0b0a79f6b..4fbdc1247 100644 --- a/.github/workflows/upgrade.yml +++ b/.github/workflows/upgrade.yml @@ -65,7 +65,7 @@ jobs: merge-multiple: true - name: Process failures id: process-failures - run: test -f all-failures/failure && echo 'hasFails=true' >> "$GITHUB_OUTPUT" + run: (test -f all-failures/failure && echo 'hasFails=true' || echo 'hasFails=false') >> "$GITHUB_OUTPUT" - if: ${{ steps.process-failures.outputs.hasFails == 'true' }} uses: actions/github-script@v7 with: