mirror of https://github.com/BOINC/boinc.git
wrong url check
This commit is contained in:
parent
10b9e67b5c
commit
ee65baa49c
|
@ -128,7 +128,7 @@ jobs:
|
|||
ID=$(curl -s -XGET "https://api.github.com/repos/${GH_REPO_API}/actions/workflows/linux.yml/runs" | jq .workflow_runs[0].id)
|
||||
fi
|
||||
URL=$(curl -s -XGET "https://api.github.com/repos/${GH_REPO_API}/actions/runs/$ID/artifacts" | jq -r ".artifacts[] | select(.name==\"${TYPE}_\") | .archive_download_url")
|
||||
if [[ "$URL" -eq "0" ]]; then
|
||||
if [[ "$URL" -eq "" ]]; then
|
||||
printf "Could not find artifact for ${TYPE} in run ${ID}"
|
||||
exit 1
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue