Skip to content

Commit

Permalink
use upx to compress bin when creating release
Browse files Browse the repository at this point in the history
  • Loading branch information
Jackhr-arch committed Jun 29, 2024
1 parent ce4cb8b commit c37b4a5
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,13 @@ jobs:
merge-multiple: true
path: ./artifacts

- name: UPX compress
run: |
curl -OL https://github.com/upx/upx/releases/download/v4.2.4/upx-4.2.4-amd64_linux.tar.xz
tar -xf upx-4.2.4-amd64_linux.tar.xz
cp ./upx-4.2.4-amd64_linux/upx .
./upx ./artifacts/*
- name: Create Release
uses: softprops/action-gh-release@v1
with:
Expand Down

0 comments on commit c37b4a5

Please sign in to comment.