We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7892fbd commit 998fd4bCopy full SHA for 998fd4b
.github/workflows/go.yml
@@ -28,5 +28,7 @@ jobs:
28
goversion: 1.24
29
md5sum: false
30
overwrite: true
31
+ executable_compression: upx
32
asset_name: go-v2ex-${{ matrix.goos }}-${{ matrix.goarch }}
- ldflags: -X "main.appVersion=${{ env.APP_VERSION }}"
33
+ pre_command: export CGO_ENABLED=0
34
+ ldflags: -s -w -extldflags -static -X "main.appVersion=${{ env.APP_VERSION }}"
0 commit comments