修改arch如果为x64,改为amd64
All checks were successful
Continuous Integration / GitHub Actions Test (push) Successful in 2m48s

This commit is contained in:
soul-walker 2024-03-12 22:38:55 +08:00
parent 7f63364913
commit b2d397637e
3 changed files with 3 additions and 0 deletions

BIN
dist/index.js generated vendored

Binary file not shown.

BIN
dist/index.js.map generated vendored

Binary file not shown.

View File

@ -16,6 +16,9 @@ export async function run(): Promise<void> {
if (!arch) {
arch = os.arch()
}
if (arch === 'x64') {
arch = 'amd64'
}
await getInstalledGoPath(version, arch)