修改arch如果为x64,改为amd64
Continuous Integration / GitHub Actions Test (push) Successful in 2m48s
Details
Continuous Integration / GitHub Actions Test (push) Successful in 2m48s
Details
This commit is contained in:
parent
7f63364913
commit
b2d397637e
|
@ -28675,6 +28675,9 @@ async function run() {
|
|||
if (!arch) {
|
||||
arch = os_1.default.arch();
|
||||
}
|
||||
if (arch === 'x64') {
|
||||
arch = 'amd64';
|
||||
}
|
||||
await (0, install_1.getInstalledGoPath)(version, arch);
|
||||
// Set outputs for other workflow steps to use
|
||||
core.setOutput('go-version', version);
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -16,6 +16,9 @@ export async function run(): Promise<void> {
|
|||
if (!arch) {
|
||||
arch = os.arch()
|
||||
}
|
||||
if (arch === 'x64') {
|
||||
arch = 'amd64'
|
||||
}
|
||||
|
||||
await getInstalledGoPath(version, arch)
|
||||
|
||||
|
|
Loading…
Reference in New Issue