Avoid stale GitHub release asset redirects (#65127)

## Why

GitHub release asset URLs can return cached redirects whose signatures
have expired, causing dependency downloads to fail during CI setup and
packaging.

## What changed

Add a fresh `cache_bust` query parameter to rusty-v8 artifact downloads in
CI and packaging, the Windows voice setup's `pkgconf` MSI download, and
DotSlash archive downloads that use plain GitHub release asset URLs.

GitOrigin-RevId: 560bfdb5788032f6450920b986cd30363eda996e
This commit is contained in:
Ian MacLeod
2026-12-02 01:08:01 +00:00
committed by copyberry
parent 4487f68480
commit 0cc4569555
4 changed files with 20 additions and 6 deletions
+2 -1
View File
@@ -32,7 +32,8 @@ $Inputs = @(
digest = "6acea47c59781c9e7f544a18d53935d59df6e44d5d52ac95ee165671b8e388820455eebf30ccc7d254b00c3d0eb694269a0f8dc84b17944c1f355dac9c5aafcc"
},
@{
url = "https://github.com/pkgconf/pkgconf/releases/download/pkgconf-3.0.6/pkgconf-$($PkgHashes[$Target][0])-3.0.6.msi"
# A fresh query avoids cached GitHub redirects with expired signatures.
url = "https://github.com/pkgconf/pkgconf/releases/download/pkgconf-3.0.6/pkgconf-$($PkgHashes[$Target][0])-3.0.6.msi?cache_bust=$([guid]::NewGuid())"
file = "pkgconf.msi"
algorithm = "SHA256"
digest = $PkgHashes[$Target][1]