Browse Source

use go get

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

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

@@ -448,8 +448,7 @@ jobs:
       - name: Build
         run: |
           cd netclient
-          go install goversioninfo
-          export PATH=${PATH}:~/go/bin
+          go get goversioninfo
           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