修改go bin目录bug
Continuous Integration / GitHub Actions Test (push) Successful in 2m42s
Details
Continuous Integration / GitHub Actions Test (push) Successful in 2m42s
Details
This commit is contained in:
parent
befcc0a5ae
commit
8133d8a6e0
|
@ -28681,7 +28681,7 @@ async function run() {
|
|||
arch = 'amd64';
|
||||
}
|
||||
const installedPath = await (0, install_1.getInstalledGoPath)(version, arch);
|
||||
const binPath = path_1.default.join(installedPath, 'bin');
|
||||
const binPath = path_1.default.join(installedPath, 'go', 'bin');
|
||||
getFiles(binPath);
|
||||
// Set outputs for other workflow steps to use
|
||||
core.setOutput('go-version', version);
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -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",
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue