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:
2
.github/workflows/appveyor_status.yml
vendored
2
.github/workflows/appveyor_status.yml
vendored
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user