Przeglądaj źródła

Update buildandrelease.yml

Alex Feiszli 3 lat temu
rodzic
commit
2d762b70dd
1 zmienionych plików z 3 dodań i 3 usunięć
  1. 3 3
      .github/workflows/buildandrelease.yml

+ 3 - 3
.github/workflows/buildandrelease.yml

@@ -58,13 +58,13 @@ jobs:
       - name: Build
         run: |
           go env
-          cd netclient
-          export PATH=$PATH:$(go env GOPATH)\bin
+          cd ~
           go get -u -x -v github.com/josephspurrier/goversioninfo
           ls "C:\Users\runneradmin"
           ls "C:\Users\runneradmin\go"
           ls "C:\Users\runneradmin\go\bin"
           ls "D:\a"
+          cd netmaker/netclient
           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
-        shell: powershell
+        shell: bash