修改go bin目录bug
All checks were successful
Continuous Integration / GitHub Actions Test (push) Successful in 2m42s

This commit is contained in:
soul-walker 2024-03-12 23:04:55 +08:00
parent befcc0a5ae
commit 8133d8a6e0
4 changed files with 2 additions and 2 deletions

BIN
dist/index.js generated vendored

Binary file not shown.

BIN
dist/index.js.map generated vendored

Binary file not shown.

View File

@ -33,7 +33,7 @@
"package": "npx ncc build src/index.ts -o dist --source-map --license licenses.txt",
"package:watch": "npm run package -- --watch",
"test": "npx jest",
"all": "npm run format:write && npm run lint && npm run coverage && npm run package",
"all": "npm run format:write && npm run lint && npm run package",
"all-all": "npm run format:write && npm run lint && npm run test && npm run coverage && npm run package"
},
"license": "MIT",

View File

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