From cb6151eb1b283501f59bcbd071dffe3fe2025f43 Mon Sep 17 00:00:00 2001 From: Wolfgang Walther Date: Tue, 7 May 2024 08:29:31 +0200 Subject: [PATCH] ci: Make artifact-from-cirrus action succeed when cirrus job doesn't start up in PR --- .github/actions/artifact-from-cirrus/action.yaml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/actions/artifact-from-cirrus/action.yaml b/.github/actions/artifact-from-cirrus/action.yaml index ff8933e8e..8d4d5265d 100644 --- a/.github/actions/artifact-from-cirrus/action.yaml +++ b/.github/actions/artifact-from-cirrus/action.yaml @@ -38,16 +38,14 @@ runs: echo "Cirrus CI task has not started, yet. Waiting..." sleep 10 else - echo "check_suite_found=1" >> "$GITHUB_OUTPUT" echo "check_runs_url=$check_runs_url" >> "$GITHUB_OUTPUT" exit 0 fi done >&2 echo "Cirrus CI check suite not found. Is Cirrus CI enabled for this repo?" - echo "check_suite_found=0" >> "$GITHUB_OUTPUT" - name: Find task by name id: find-task - if: steps.check-suite.outputs.check_suite_found + if: steps.check-suite.outputs.check_runs_url shell: bash run: | get_number_of_tasks() {