1
0
mirror of https://github.com/libssh2/libssh2.git synced 2025-12-14 04:18:56 +03:00

GHA: minor command sync with the curl repo

This commit is contained in:
Viktor Szakats
2025-11-29 15:14:35 +01:00
parent 7fd89a58fa
commit 2b7f82989c

View File

@@ -51,7 +51,7 @@ jobs:
APPVEYOR_REPOSITORY: ${{ github.event.repository.full_name }}
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
echo "${APPVEYOR_TARGET_URL}" | sed 's/\/project\//\/api\/projects\//' | xargs -t -n1 curl -s | \
echo "${APPVEYOR_TARGET_URL}" | sed 's/\/project\//\/api\/projects\//' | xargs -t -n1 curl -s -- | \
jq -c '.build.jobs[] | {target_url: ($target_url + "/job/" + .jobId),
context: (.name | sub("^(Environment: )?"; "AppVeyor / ")),
state: (.status | sub("queued"; "pending")