简单修改

This commit is contained in:
johlanse 2022-08-05 17:28:14 +08:00
parent 790cab163d
commit 5f81a98cbb
1 changed files with 1 additions and 1 deletions

View File

@ -31,7 +31,7 @@ jobs:
- name: Build binary file
run: |
echo ${env.RELEASE_VERSION}
echo "${env.RELEASE_VERSION}"
export LD_FLAGS="-w -s -X main.VERSION=${env.RELEASE_VERSION}"
go mod tidy
go build -o "output/study_xxqg" -trimpath -ldflags "$LD_FLAGS" ./