From f462ae6ca52fdf6a76641ffb09993e08a209e10b Mon Sep 17 00:00:00 2001 From: Andreas Bielawski Date: Tue, 25 Apr 2023 12:58:44 +0200 Subject: [PATCH] Do not compress binaries --- .github/workflows/build.yml | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 053fe13..fe2c6df 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -28,7 +28,7 @@ jobs: uses: actions/checkout@v3 - name: Cache - uses: actions/cache@v2 + uses: actions/cache@v3 with: path: | ~/.cache/go-build @@ -38,7 +38,7 @@ jobs: ${{ runner.os }}-go- - name: Setup Go - uses: actions/setup-go@v2 + uses: actions/setup-go@v4 with: go-version: ${{ env.GOVER }} @@ -52,15 +52,6 @@ jobs: if: matrix.GOOS == 'windows' run: for x in dist/$NAME-windows-*; do mv $x $x.exe; done - - name: Compress binary - if: matrix.GOOS != 'windows' || matrix.GOARCH != 'arm64' - uses: crazy-max/ghaction-upx@v1 - with: - version: latest - files: | - ./dist/* - args: -fq --best --lzma - - name: Upload binary uses: actions/upload-artifact@v3 with: