mirror of
https://github.com/gravitl/netmaker.git
synced 2024-09-20 23:36:18 +08:00
4rd attempt at setting path
This commit is contained in:
parent
a98c930561
commit
e739f38507
5
.github/workflows/buildandrelease.yml
vendored
5
.github/workflows/buildandrelease.yml
vendored
|
@ -448,12 +448,15 @@ jobs:
|
|||
- name: Build
|
||||
run: |
|
||||
echo $(go env GOPATH)/bin >> $GITHUB_PATH
|
||||
echo $(go env GOPATH)/bin >> $PATH
|
||||
echo $PATH
|
||||
go env
|
||||
cd netclient
|
||||
which go
|
||||
go get github.com/josephspurrier/goversioninfo
|
||||
find . -name goversioninfo
|
||||
go generate
|
||||
dir
|
||||
ls
|
||||
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: bash
|
||||
|
||||
|
|
Loading…
Reference in a new issue