File tree Expand file tree Collapse file tree 3 files changed +0
-5
lines changed
Expand file tree Collapse file tree 3 files changed +0
-5
lines changed Original file line number Diff line number Diff line change 4444 runs-on : windows-latest
4545 steps :
4646
47- - name : Set up upx
48- run : choco install upx
49-
5047 - name : Set up Go 1.x
5148 uses : actions/setup-go@v2
5249 with :
Original file line number Diff line number Diff line change @@ -30,7 +30,6 @@ foreach ($os in $os_list) {
3030 $Env: GOOS = ${os}
3131 $Env: GOARCH = ${arch}
3232 go build - tags release - ldflags= " $flags " - o $out
33- upx - q -9 $out
3433 Compress-Archive - CompressionLevel " Optimal" - Path $out - DestinationPath " ${file} .zip"
3534 }
3635}
Original file line number Diff line number Diff line change @@ -31,7 +31,6 @@ for os in ${os_list[@]}; do
3131 file=$build_dir /$build_prefix ${gittag} _${os} _${arch}
3232 out=$build_dir /$build_prefix ${os} _${arch} $suffix
3333 CGO_ENABLED=0 GOOS=${os} GOARCH=${arch} go build -tags release -ldflags=" $flags " -o $out
34- upx -q -9 $out > /dev/null
3534 zip -j -9 $file .zip $out
3635 done
3736done
You can’t perform that action at this time.
0 commit comments