mirror of
https://code.forgejo.org/actions/setup-go
synced 2025-06-20 00:50:25 +02:00
fix log for stable aliases (#303)
This commit is contained in:
parent
38dbe75f81
commit
6edd4406fa
2 changed files with 3 additions and 6 deletions
|
@ -60,6 +60,8 @@ export async function getGo(
|
|||
}
|
||||
}
|
||||
|
||||
core.info(`${versionSpec} version resolved as ${stableVersion}`);
|
||||
|
||||
versionSpec = stableVersion;
|
||||
}
|
||||
|
||||
|
@ -413,8 +415,6 @@ export async function resolveStableVersionInput(
|
|||
.filter(item => !!item && !semver.prerelease(item));
|
||||
|
||||
if (versionSpec === StableReleaseAlias.Stable) {
|
||||
core.info(`stable version resolved as ${releases[0]}`);
|
||||
|
||||
return releases[0];
|
||||
} else {
|
||||
const versions = releases.map(
|
||||
|
@ -426,8 +426,6 @@ export async function resolveStableVersionInput(
|
|||
item.startsWith(uniqueVersions[1])
|
||||
);
|
||||
|
||||
core.info(`oldstable version resolved as ${oldstableVersion}`);
|
||||
|
||||
return oldstableVersion;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue