From: Marc Hoersken Date: Mon, 24 Oct 2022 18:50:27 +0000 (+0200) Subject: CI: fix AppVeyor status failing for starting jobs X-Git-Tag: curl-7_86_0~3 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=0e6e56930f111de89e35129ae61bb42b11d397a2;p=thirdparty%2Fcurl.git CI: fix AppVeyor status failing for starting jobs --- diff --git a/.github/workflows/appveyor-status.yml b/.github/workflows/appveyor-status.yml index a97bf86c38..8202a7a76c 100644 --- a/.github/workflows/appveyor-status.yml +++ b/.github/workflows/appveyor-status.yml @@ -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}