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

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

3
dist/index.js vendored
View File

@ -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);

2
dist/index.js.map vendored

File diff suppressed because one or more lines are too long

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)