mirror of
				https://github.com/actions/setup-go.git
				synced 2025-10-30 06:50:32 +00:00 
			
		
		
		
	Fall back to downloading from go.dev/dl instead of storage.googleapis.com/golang (#665)
* Fall back to downloading from dl.google.com/go instead of storage.googleapis.com/golang * Use go.dev/dl instead
This commit is contained in:
		
							
								
								
									
										2
									
								
								dist/setup/index.js
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								dist/setup/index.js
									
									
									
									
										vendored
									
									
								
							| @@ -94583,7 +94583,7 @@ function getInfoFromDist(versionSpec, arch) { | ||||
|         if (!version) { | ||||
|             return null; | ||||
|         } | ||||
|         const downloadUrl = `https://storage.googleapis.com/golang/${version.files[0].filename}`; | ||||
|         const downloadUrl = `https://go.dev/dl/${version.files[0].filename}`; | ||||
|         return { | ||||
|             type: 'dist', | ||||
|             downloadUrl: downloadUrl, | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Nicholas Ngai
					Nicholas Ngai