Skip to content

Commit

Permalink
UPDATE github workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
iotames committed Oct 20, 2024
1 parent 3e0b13f commit 2ee807b
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/release_tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,7 @@ jobs:
go env -w GO111MODULE=on
go env -w GOPROXY=https://goproxy.cn,direct
go mod tidy
go install github.com/josephspurrier/goversioninfo/cmd/goversioninfo@latest
- name: Get File Name
id: get_filename
run: |
Expand All @@ -79,7 +78,9 @@ jobs:
- name: Prepare Build for Windows
if: matrix.goos == 'windows'
run: |
go install github.com/josephspurrier/goversioninfo/cmd/goversioninfo@latest
go env GOPATH
ls `go env GOPATH`/bin
go generate ./main || echo "try export PATH ..." && export PATH=$PATH:`go env GOPATH`/bin && go generate ./main
- name: Build
Expand Down

0 comments on commit 2ee807b

Please sign in to comment.