Browse Source

set windows path to include %HOME%/go/bin

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

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

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