fix adding to bin path

This commit is contained in:
Dmitry Shibanov 2020-06-29 13:53:11 +03:00
parent 85b6f5f43e
commit d47eadc0ff
3 changed files with 5 additions and 3 deletions

3
dist/index.js vendored
View file

@ -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