File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed
Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -49,13 +49,13 @@ jobs:
4949 go-version : ' 1.17'
5050
5151 - name : Compile for Windows x64
52- run : go build -o dist/zombie_windows7_amd64.exe -ldflags "-s -w" -tags="forceposix nobar" -asmflags "all=-trimpath=${{ env.GOPATH }}" -gcflags "all=-trimpath=${{ env.GOPATH }}" .
52+ run : go build -o dist/zombie_windows7_amd64.exe -ldflags "-s -w" -tags="forceposix nobar noembed " -asmflags "all=-trimpath=${{ env.GOPATH }}" -gcflags "all=-trimpath=${{ env.GOPATH }}" .
5353 env :
5454 GOOS : windows
5555 GOARCH : amd64
5656
5757 - name : Compile for Windows x86
58- run : go build -o dist/zombie_windows7_386.exe -ldflags "-s -w" -tags="forceposix nobar" -asmflags "all=-trimpath=${{ env.GOPATH }}" -gcflags "all=-trimpath=${{ env.GOPATH }}" .
58+ run : go build -o dist/zombie_windows7_386.exe -ldflags "-s -w" -tags="forceposix nobar noembed " -asmflags "all=-trimpath=${{ env.GOPATH }}" -gcflags "all=-trimpath=${{ env.GOPATH }}" .
5959 env :
6060 GOOS : windows
6161 GOARCH : ' 386'
Original file line number Diff line number Diff line change @@ -37,7 +37,9 @@ builds:
3737 ldflags : " -s -w -X 'github.com/chainreactors/zombie/cmd.ver=={{ .Tag }}'"
3838 flags :
3939 - -trimpath
40- - -tags=forceposix
40+ tags :
41+ - forceposix
42+ - noembed
4143 asmflags :
4244 - all=-trimpath={{.Env.GOPATH}}
4345 gcflags :
You can’t perform that action at this time.
0 commit comments