diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 73ce2c2..31f40e1 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -17,6 +17,12 @@ jobs: - uses: WillAbides/setup-go-faster@v1.14.0 with: go-version: '1.23.1' + - name: Install UPX + uses: crazy-max/ghaction-upx@v3 + with: + install-only: true + - name: UPX version + run: upx --version - name: Install Cloudsmith CLI run: pipx install cloudsmith-cli - name: Release diff --git a/.goreleaser.yaml b/.goreleaser.yaml index 7c57053..f98111e 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -24,6 +24,8 @@ builds: # Enable macOS "Universal Binaries" (amd64 + arm binaries) universal_binaries: - replace: true +upx: + - enabled: true archives: # Upload the binaries, not archives - format: binary