简单修改
This commit is contained in:
parent
6c86ef1fe2
commit
9c408720dd
|
@ -32,7 +32,7 @@ jobs:
|
||||||
- name: Build binary file
|
- name: Build binary file
|
||||||
run: |
|
run: |
|
||||||
|
|
||||||
export LD_FLAGS="-w -s -X main.VERSION=${env.RELEASE_VERSION}"
|
export LD_FLAGS="-w -s -X main.VERSION=$env.RELEASE_VERSION"
|
||||||
go mod tidy
|
go mod tidy
|
||||||
go build -o "output/study_xxqg" -trimpath -ldflags "$LD_FLAGS" ./
|
go build -o "output/study_xxqg" -trimpath -ldflags "$LD_FLAGS" ./
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue