Browse Source

update path

Matthew R. Kasun 3 years ago
parent
commit
9adafb63aa
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 install goversioninfo
           go install goversioninfo
+          export PATH=$PATH:~/go/bin
           go generate
           go generate
           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