Fall back to downloading from go.dev/dl instead of storage.googleapis.com/golang

This commit is contained in:
Nicholas Ngai 2025-10-17 12:11:05 -07:00
parent be3c94b385
commit de2d1f407f
No known key found for this signature in database
GPG key ID: 65358B5A905963F4
4 changed files with 6 additions and 6 deletions

2
dist/setup/index.js vendored
View file

@ -70997,7 +70997,7 @@ function getInfoFromDist(versionSpec, arch) {
if (!version) {
return null;
}
let downloadUrl = `https://storage.googleapis.com/golang/${version.files[0].filename}`;
let downloadUrl = `https://go.dev/dl/${version.files[0].filename}`;
return {
type: 'dist',
downloadUrl: downloadUrl,