mirror of
https://github.com/actions/setup-go.git
synced 2025-06-29 20:53:43 +00:00
Add check latest check
This commit is contained in:
parent
84f83e7f2d
commit
9b762a9fb1
2 changed files with 4 additions and 4 deletions
|
@ -175,7 +175,7 @@ async function resolveStableVersionInput(
|
|||
releases = manifestReleases.map(release => release.version);
|
||||
} else {
|
||||
releases = await installer.getAllToolCacheReleases(arch);
|
||||
core.info(releases.join(","));
|
||||
releases.reverse();
|
||||
}
|
||||
|
||||
if (versionSpec === StableReleaseAlias.Stable) {
|
||||
|
@ -200,7 +200,7 @@ async function resolveStableVersionInput(
|
|||
);
|
||||
oldstableVersion = oldstableVersion?.resolvedVersion;
|
||||
} else {
|
||||
oldstableVersion = uniqueVersions[1];
|
||||
oldstableVersion = releases[1];
|
||||
}
|
||||
|
||||
core.info(`Oldstable version resolved as ${oldstableVersion}`);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue