mirror of
https://github.com/actions/setup-go.git
synced 2025-12-24 14:03:04 +01:00
Fall back to downloading from go.dev/dl instead of storage.googleapis.com/golang(V5) (#689)
* update url * npm run audit fix * npm run build * license updates * license update * license upodate * license update * license update * updates * format update * updates
This commit is contained in:
@@ -126,7 +126,7 @@ export async function getGo(
|
||||
}
|
||||
|
||||
//
|
||||
// Download from storage.googleapis.com
|
||||
// Download from https://go.dev/dl
|
||||
//
|
||||
if (!downloadPath) {
|
||||
info = await getInfoFromDist(versionSpec, arch);
|
||||
@@ -386,7 +386,7 @@ async function getInfoFromDist(
|
||||
return null;
|
||||
}
|
||||
|
||||
const downloadUrl = `https://storage.googleapis.com/golang/${version.files[0].filename}`;
|
||||
const downloadUrl = `https://go.dev/dl/${version.files[0].filename}`;
|
||||
|
||||
return <IGoVersionInfo>{
|
||||
type: 'dist',
|
||||
|
||||
Reference in New Issue
Block a user