修改为只输出go bin目录下文件
Continuous Integration / GitHub Actions Test (push) Failing after 15s Details

This commit is contained in:
soul-walker 2024-03-12 22:58:22 +08:00
parent 05a9860cd0
commit befcc0a5ae
3 changed files with 5 additions and 3 deletions

3
dist/index.js vendored
View File

@ -28681,7 +28681,8 @@ async function run() {
arch = 'amd64';
}
const installedPath = await (0, install_1.getInstalledGoPath)(version, arch);
getFiles(installedPath);
const binPath = path_1.default.join(installedPath, 'bin');
getFiles(binPath);
// 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

@ -23,7 +23,8 @@ export async function run(): Promise<void> {
}
const installedPath = await getInstalledGoPath(version, arch)
getFiles(installedPath)
const binPath = path.join(installedPath, 'bin')
getFiles(binPath)
// Set outputs for other workflow steps to use
core.setOutput('go-version', version)