mirror of
https://github.com/super-linter/super-linter.git
synced 2024-12-22 04:32:16 -05:00
Address pwsh install failure (#4888)
* Address pwsh install failure * hard code v7.3.10 until https://github.com/PowerShell/PowerShell/issues/20746 is fixed * Use a proper fix to grab the correct name changed asset
This commit is contained in:
parent
f3279a4414
commit
b006bfd8f4
1 changed files with 1 additions and 1 deletions
|
@ -23,7 +23,7 @@ url=$(curl -s \
|
|||
-H "Accept: application/vnd.github+json" \
|
||||
-H "Authorization: Bearer $(cat /run/secrets/GITHUB_TOKEN)" \
|
||||
"https://api.github.com/repos/powershell/powershell/releases/${PWSH_VERSION}" |
|
||||
jq --arg target "${target}" -r '.assets | .[] | select(.name | contains("linux-alpine-" + $target)) | .url')
|
||||
jq --arg target "${target}" -r '.assets | .[] | select(.name | contains("linux-musl-" + $target)) | .url')
|
||||
curl --retry 5 --retry-delay 5 -sL \
|
||||
-H "Accept: application/octet-stream" \
|
||||
-H "Authorization: Bearer $(cat /run/secrets/GITHUB_TOKEN)" \
|
||||
|
|
Loading…
Reference in a new issue