Skip to content

Commit

Permalink
chore: compress binaries with upx (#29)
Browse files Browse the repository at this point in the history
  • Loading branch information
tomsquest authored Sep 26, 2024
1 parent 236076d commit ecd2116
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,12 @@ jobs:
- uses: WillAbides/[email protected]
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
Expand Down
2 changes: 2 additions & 0 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ecd2116

Please sign in to comment.