Explorar o código

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

Matthew R. Kasun %!s(int64=3) %!d(string=hai) anos
pai
achega
7065d5382a
Modificáronse 1 ficheiros con 1 adicións e 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