Skip to content

Commit bcdcd01

Browse files
author
sg
committed
* add upx
1 parent aac5caf commit bcdcd01

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

.github/workflows/release.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,12 @@ jobs:
4444
GOARCH: ${{ matrix.goarch }}
4545
run: go build -v -o ${{ matrix.artifact }}${{ matrix.suffix }} .
4646

47+
- name: Install UPX
48+
run: sudo apt-get update && sudo apt-get install -y upx-ucl
49+
50+
- name: Compress with UPX
51+
run: upx --best --lzma ${{ matrix.artifact }}${{ matrix.suffix }}
52+
4753
- name: Archive
4854
run: |
4955
zip ${{ matrix.artifact }}.zip ${{ matrix.artifact }}${{ matrix.suffix }}

0 commit comments

Comments
 (0)