Browse Source

another attempt at setting path

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

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

@@ -445,14 +445,14 @@ jobs:
           install: >-
             git
             mingw-w64-x86_64-toolchain
-      - name: set env
-        run:
-          echo "::set-env name=GOPATH::$(go env GOPATH)"
-          echo "::add-path::$(go env GOPATH)/bin"
-        shell: bash
       - name: Build
         run: |
+          go env
+          which go
+          echo $PATH
+          SET $PATH=$PATH:$GOBIN
           echo $PATH
+          echo ~
           cd netclient
           go get github.com/josephspurrier/goversioninfo
           go generate