From 5cd2a461217f824ae01115c1fb5e0b7f6e5dbacf Mon Sep 17 00:00:00 2001 From: Hugo van Rijswijk Date: Wed, 26 Jul 2023 14:09:04 +0200 Subject: [PATCH] Only compress linux app --- .github/workflows/package.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/package.yml b/.github/workflows/package.yml index 9a89956..d8802b0 100644 --- a/.github/workflows/package.yml +++ b/.github/workflows/package.yml @@ -56,7 +56,7 @@ jobs: - name: Package app run: scala-cli package . -o "${{ matrix.local_path }}" --native-image ${{ matrix.OS != 'macos-latest' && '--graalvm-args --static' || '' }} - name: Compress artifact - if: ${{ matrix.OS != 'macos-latest' }} + if: ${{ matrix.OS == 'ubuntu-latest' }} uses: crazy-max/ghaction-upx@v2 with: args: --best