mirror of
https://code.forgejo.org/actions/setup-go
synced 2025-07-04 15:26:01 +02:00
fix version dir
This commit is contained in:
parent
655555d319
commit
9b1c41166a
2 changed files with 2 additions and 2 deletions
|
@ -33,7 +33,7 @@ export async function downloadGo(
|
|||
|
||||
// extracts with a root folder that matches the fileName downloaded
|
||||
const toolRoot = path.join(extPath, 'go');
|
||||
toolPath = await tc.cacheDir(toolRoot, 'go', match.version);
|
||||
toolPath = await tc.cacheDir(toolRoot, 'go', makeSemver(match.version));
|
||||
}
|
||||
} catch (error) {
|
||||
throw new Error(`Failed to download version ${versionSpec}: ${error}`);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue