Explorar el Código

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

Matthew R. Kasun hace 3 años
padre
commit
7065d5382a
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      .github/workflows/buildandrelease.yml

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

@@ -449,6 +449,7 @@ jobs:
         run: |
           cd netclient
           go get github.com/josephspurrier/goversioninfo
+          set PATH=%PATH%;%HOME%/go/bin/
           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