mirror of
https://github.com/actions/setup-go.git
synced 2025-04-24 01:50:52 +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) {
|
||||
core.exportVariable('GOROOT', goRoot);
|
||||
|
||||
const goPath = getGoPath();
|
||||
const goBin = process.env['GOBIN'] || '';
|
||||
const goPath: string = getGoPath();
|
||||
const goBin: string = process.env['GOBIN'] || '';
|
||||
|
||||
// set GOPATH and GOBIN as user value
|
||||
if (goPath) {
|
||||
|
|
Loading…
Add table
Reference in a new issue