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

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

BIN
dist/index.js generated vendored

Binary file not shown.

BIN
dist/index.js.map generated vendored

Binary file not shown.

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)