1
0
Fork 0
mirror of https://github.com/actions/setup-go synced 2024-12-22 14:22:41 +00:00

Update dist

This commit is contained in:
Josh Gross 2022-03-14 12:24:32 -04:00
parent 802876f7c7
commit 229eefa42b
No known key found for this signature in database
GPG key ID: 17A6308EA2144978

2
dist/index.js vendored
View file

@ -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();