Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e65a4fc369 |
5
dist/setup/index.js
vendored
5
dist/setup/index.js
vendored
@ -93271,6 +93271,11 @@ function getGo(versionSpec_1, checkLatest_1, auth_1) {
|
||||
try {
|
||||
info = yield getInfoFromManifest(versionSpec, true, auth, arch, manifest);
|
||||
if (info) {
|
||||
const goUrl = core.getInput('go-url');
|
||||
if (goUrl) {
|
||||
core.info(`Using custom Go URL: ${goUrl}`);
|
||||
info.downloadUrl = goUrl;
|
||||
}
|
||||
downloadPath = yield installGoVersion(info, auth, arch);
|
||||
}
|
||||
else {
|
||||
|
||||
@ -104,6 +104,11 @@ export async function getGo(
|
||||
try {
|
||||
info = await getInfoFromManifest(versionSpec, true, auth, arch, manifest);
|
||||
if (info) {
|
||||
const goUrl = core.getInput('go-url');
|
||||
if (goUrl) {
|
||||
core.info(`Using custom Go URL: ${goUrl}`);
|
||||
info.downloadUrl = goUrl;
|
||||
}
|
||||
downloadPath = await installGoVersion(info, auth, arch);
|
||||
} else {
|
||||
core.info(
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user