mirror of
https://github.com/actions/setup-go.git
synced 2025-06-29 20:53:43 +00:00
possible fix
This commit is contained in:
parent
b7bdf8dcd0
commit
eb4d2dd387
2 changed files with 8 additions and 2 deletions
|
@ -272,11 +272,14 @@ export async function findMatch(
|
|||
versionSpec === StableReleaseAlias.Stable ||
|
||||
versionSpec === StableReleaseAlias.OldStable
|
||||
) {
|
||||
const fixedCandidates = candidates.map(item => {
|
||||
return {...item, version: makeSemver(item.version)};
|
||||
});
|
||||
versionSpec = await resolveStableVersionInput(
|
||||
versionSpec,
|
||||
undefined,
|
||||
arch,
|
||||
candidates as (tc.IToolRelease & IGoVersion)[]
|
||||
fixedCandidates as (tc.IToolRelease & IGoVersion)[]
|
||||
);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue