mirror of
https://github.com/curl/curl.git
synced 2026-04-15 00:31:41 +03:00
CI: fix AppVeyor status failing for starting jobs
This commit is contained in:
parent
038bfb8522
commit
0e6e56930f
1 changed files with 2 additions and 1 deletions
3
.github/workflows/appveyor-status.yml
vendored
3
.github/workflows/appveyor-status.yml
vendored
|
|
@ -31,9 +31,10 @@ jobs:
|
|||
jq -c '.build.jobs[] | {target_url: ($target_url + "/job/" + .jobId),
|
||||
context: (.name | sub("^(Environment: )?"; "AppVeyor / ")),
|
||||
state: (.status | sub("queued"; "pending")
|
||||
| sub("starting"; "pending")
|
||||
| sub("running"; "pending")
|
||||
| sub("failed"; "failure")
|
||||
| sub("cancelled"; "error")),
|
||||
description: .status}' \
|
||||
--arg target_url ${APPVEYOR_TARGET_URL} | parallel --pipe -j 1 -N 1 \
|
||||
--arg target_url ${APPVEYOR_TARGET_URL} | tee /dev/stderr | parallel --pipe -j 1 -N 1 \
|
||||
gh api --silent --input - repos/${APPVEYOR_REPOSITORY}/statuses/${APPVEYOR_COMMIT_SHA}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue