Always create check for Android render test, Take into account cancelled workflows (#2149)

This commit is contained in:
Bart Louwers
2024-02-27 19:28:05 +01:00
committed by GitHub
parent f4c6fabbe6
commit f27848fdaa
4 changed files with 14 additions and 28 deletions

View File

@@ -15,7 +15,7 @@ jobs:
- id: check_skip
run: |
conclusion=$(curl ${{ github.event.workflow_run.jobs_url }} | jq -r '.jobs[] | select(.name == "linux-coverage").conclusion')
should_skip=$([ "$conclusion" = "skipped" ] && echo "true" || echo "false")
should_skip=$([[ "$conclusion" = "skipped" || "$conclusion" = "cancelled" ]] && echo "true" || echo "false")
echo "should_skip=$should_skip" >> "$GITHUB_OUTPUT"
upload-coverage: