修改arch如果为x64,改为amd64
All checks were successful
Continuous Integration / GitHub Actions Test (push) Successful in 2m48s
All checks were successful
Continuous Integration / GitHub Actions Test (push) Successful in 2m48s
This commit is contained in:
parent
7f63364913
commit
b2d397637e
BIN
dist/index.js
generated
vendored
BIN
dist/index.js
generated
vendored
Binary file not shown.
BIN
dist/index.js.map
generated
vendored
BIN
dist/index.js.map
generated
vendored
Binary file not shown.
@ -16,6 +16,9 @@ export async function run(): Promise<void> {
|
|||||||
if (!arch) {
|
if (!arch) {
|
||||||
arch = os.arch()
|
arch = os.arch()
|
||||||
}
|
}
|
||||||
|
if (arch === 'x64') {
|
||||||
|
arch = 'amd64'
|
||||||
|
}
|
||||||
|
|
||||||
await getInstalledGoPath(version, arch)
|
await getInstalledGoPath(version, arch)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user