|
|
@ -1506,10 +1506,11 @@ function run() {
|
|
|
|
core.exportVariable('GOROOT', installDir);
|
|
|
|
core.exportVariable('GOROOT', installDir);
|
|
|
|
core.addPath(path_1.default.join(installDir, 'bin'));
|
|
|
|
core.addPath(path_1.default.join(installDir, 'bin'));
|
|
|
|
core.info('Added go to the path');
|
|
|
|
core.info('Added go to the path');
|
|
|
|
let added = yield addBinToPath();
|
|
|
|
|
|
|
|
core.debug(`add bin ${added}`);
|
|
|
|
|
|
|
|
core.info(`Successfully setup go version ${versionSpec}`);
|
|
|
|
core.info(`Successfully setup go version ${versionSpec}`);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
// add gobin to path
|
|
|
|
|
|
|
|
let added = yield addBinToPath();
|
|
|
|
|
|
|
|
core.debug(`add bin ${added}`);
|
|
|
|
// add problem matchers
|
|
|
|
// add problem matchers
|
|
|
|
const matchersPath = path_1.default.join(__dirname, '..', 'matchers.json');
|
|
|
|
const matchersPath = path_1.default.join(__dirname, '..', 'matchers.json');
|
|
|
|
core.info(`##[add-matcher]${matchersPath}`);
|
|
|
|
core.info(`##[add-matcher]${matchersPath}`);
|
|
|
|