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: