mirror of
https://github.com/actions/setup-go.git
synced 2026-04-05 20:29:24 +00:00
run prettier
This commit is contained in:
parent
78af96c188
commit
107f2fc644
5 changed files with 9 additions and 23 deletions
|
|
@ -157,13 +157,7 @@ export async function getGo(
|
|||
// Try download from internal distribution (popular versions only)
|
||||
//
|
||||
try {
|
||||
info = await getInfoFromManifest(
|
||||
versionSpec,
|
||||
true,
|
||||
auth,
|
||||
arch,
|
||||
manifest
|
||||
);
|
||||
info = await getInfoFromManifest(versionSpec, true, auth, arch, manifest);
|
||||
if (info) {
|
||||
downloadPath = await installGoVersion(info, auth, arch);
|
||||
} else {
|
||||
|
|
@ -485,9 +479,7 @@ export function getInfoFromDirectDownload(
|
|||
const fileName = `${goVersion}.${platStr}-${archStr}.${extension}`;
|
||||
const downloadUrl = `${goDownloadBaseUrl}/${fileName}`;
|
||||
|
||||
core.info(
|
||||
`Constructed direct download URL: ${downloadUrl}`
|
||||
);
|
||||
core.info(`Constructed direct download URL: ${downloadUrl}`);
|
||||
|
||||
return <IGoVersionInfo>{
|
||||
type: 'dist',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue