From 6083856137b3b5dc09d4411b117eeb79a0a21b7a Mon Sep 17 00:00:00 2001 From: yoshiko2 Date: Thu, 4 May 2023 16:46:55 +0800 Subject: [PATCH] Add UPX --- .github/workflows/main.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 3c028ee..8e78cd7 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -19,6 +19,16 @@ jobs: steps: - uses: actions/checkout@v2 + - name: Install UPX + uses: crazy-max/ghaction-upx@v2 + if: matrix.os == 'windows-latest' || matrix.os == 'ubuntu-latest' + with: + install-only: true + + - name: UPX version + if: matrix.os == 'windows-latest' || matrix.os == 'ubuntu-latest' + run: upx --version + - name: Setup Python 3.10 uses: actions/setup-python@v2 with: