Browse Source

update path

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

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

@@ -449,8 +449,9 @@ jobs:
         run: |
         run: |
           cd netclient
           cd netclient
           go install goversioninfo
           go install goversioninfo
-          export PATH=$PATH:~/go/bin
+          export PATH=${PATH}:~/go/bin
           go generate
           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
           env CGO_ENABLED=1 GOOS=windows GOARCH=amd64 go build -tags=gui -ldflags="-X 'main.version=${NETMAKER_VERSION}'" -o build/netclient.exe main.go
 
 
       - name: Upload netclient windows to Release
       - name: Upload netclient windows to Release