mirror of
https://github.com/actions/setup-go.git
synced 2023-09-23 05:03:39 +00:00
Update dist
This commit is contained in:
parent
802876f7c7
commit
229eefa42b
2
dist/index.js
vendored
2
dist/index.js
vendored
@ -2086,7 +2086,7 @@ function run() {
|
|||||||
const version = installer.makeSemver(versionSpec);
|
const version = installer.makeSemver(versionSpec);
|
||||||
// Go versions less than 1.9 require GOROOT to be set
|
// Go versions less than 1.9 require GOROOT to be set
|
||||||
if (semver.lt(version, '1.9.0')) {
|
if (semver.lt(version, '1.9.0')) {
|
||||||
core.info("Setting GOROOT for Go version < 1.9");
|
core.info('Setting GOROOT for Go version < 1.9');
|
||||||
core.exportVariable('GOROOT', installDir);
|
core.exportVariable('GOROOT', installDir);
|
||||||
}
|
}
|
||||||
let added = yield addBinToPath();
|
let added = yield addBinToPath();
|
||||||
|
Loading…
Reference in New Issue
Block a user