Browse Source

add GOPATH to windows PATH

Matthew R. Kasun 3 years ago
parent
commit
86b6c99902
1 changed files with 1 additions and 1 deletions
  1. 1 1
      .github/workflows/buildandrelease.yml

+ 1 - 1
.github/workflows/buildandrelease.yml

@@ -449,7 +449,7 @@ jobs:
         run: |
           cd netclient
           go get github.com/josephspurrier/goversioninfo
-          set PATH=%PATH%;%HOME%/go/bin/
+          set PATH=%PATH%;%GOPATH%
           go generate
           dir
           env CGO_ENABLED=1 GOOS=windows GOARCH=amd64 go build -tags=gui -ldflags="-X 'main.version=${NETMAKER_VERSION}'" -o build/netclient.exe main.go