mirror of
https://github.com/actions/setup-go.git
synced 2025-04-23 17:40:50 +00:00
Fix def
This commit is contained in:
parent
033c63db2c
commit
f543d16638
1 changed files with 2 additions and 2 deletions
|
@ -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) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue