Skip to content

Commit 3a58a19

Browse files
committed
build remove upx
1 parent 39c3b66 commit 3a58a19

File tree

3 files changed

+0
-5
lines changed

3 files changed

+0
-5
lines changed

.github/workflows/release.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,6 @@ jobs:
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:

build.ps1

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff 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
}

build.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff 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
3736
done

0 commit comments

Comments
 (0)