mirror of
https://github.com/actions/setup-go.git
synced 2025-06-30 13:13:43 +00:00
fix adding to bin path
This commit is contained in:
parent
85b6f5f43e
commit
d47eadc0ff
3 changed files with 5 additions and 3 deletions
3
dist/index.js
vendored
3
dist/index.js
vendored
|
@ -1444,7 +1444,8 @@ function run() {
|
|||
core.exportVariable('GOROOT', installDir);
|
||||
core.addPath(path_1.default.join(installDir, 'bin'));
|
||||
core.info('Added go to the path');
|
||||
let added = addBinToPath();
|
||||
let added = yield addBinToPath();
|
||||
core.debug(`add bin ${added}`);
|
||||
core.info(`Successfully setup go version ${versionSpec}`);
|
||||
}
|
||||
// add problem matchers
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue