From c37b4a595d48d36539b91c7c9b56f20a151ab6ab Mon Sep 17 00:00:00 2001 From: Jackhr <63526062+Jackhr-arch@users.noreply.github.com> Date: Sat, 29 Jun 2024 17:43:18 +0000 Subject: [PATCH] use upx to compress bin when creating release --- .github/workflows/CI.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index a980d7f..92eedd6 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -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: