mirror of
https://github.com/actions/runner-images.git
synced 2026-01-06 18:19:54 +08:00
[Windows] pin zstd to v1.5.5 (#9570)
This commit is contained in:
@@ -3,9 +3,10 @@
|
|||||||
## Desc: Install zstd
|
## Desc: Install zstd
|
||||||
################################################################################
|
################################################################################
|
||||||
|
|
||||||
|
# version newer than v1.5.5 has no windows builds yet
|
||||||
$downloadUrl = Resolve-GithubReleaseAssetUrl `
|
$downloadUrl = Resolve-GithubReleaseAssetUrl `
|
||||||
-Repo "facebook/zstd" `
|
-Repo "facebook/zstd" `
|
||||||
-Version "latest" `
|
-Version "1.5.5" `
|
||||||
-UrlMatchPattern "zstd-*-win64.zip"
|
-UrlMatchPattern "zstd-*-win64.zip"
|
||||||
$zstdArchivePath = Invoke-DownloadWithRetry $downloadUrl
|
$zstdArchivePath = Invoke-DownloadWithRetry $downloadUrl
|
||||||
$zstdName = [IO.Path]::GetFileNameWithoutExtension($zstdArchivePath)
|
$zstdName = [IO.Path]::GetFileNameWithoutExtension($zstdArchivePath)
|
||||||
|
|||||||
Reference in New Issue
Block a user