This commit is contained in:
CrazyMax 2019-09-04 01:57:38 +02:00
parent 033c63db2c
commit f543d16638
No known key found for this signature in database
GPG key ID: 3248E46B6BB8C7F7

View file

@ -109,8 +109,8 @@ function getDownloadUrl(filename: string): string {
function setGoEnvironmentVariables(goRoot: string) { function setGoEnvironmentVariables(goRoot: string) {
core.exportVariable('GOROOT', goRoot); core.exportVariable('GOROOT', goRoot);
const goPath = getGoPath(); const goPath: string = getGoPath();
const goBin = process.env['GOBIN'] || ''; const goBin: string = process.env['GOBIN'] || '';
// set GOPATH and GOBIN as user value // set GOPATH and GOBIN as user value
if (goPath) { if (goPath) {