Skip to content

Commit

Permalink
Try implement UPX compression
Browse files Browse the repository at this point in the history
  • Loading branch information
tempusfrangit committed Dec 19, 2023
1 parent 296c401 commit 51cc7d6
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,10 @@ jobs:
name: "Checkout"
with:
fetch-depth: 0
- name: Install UPX
uses: crazy-max/ghaction-upx@v3
with:
install-only: true
- uses: actions/setup-go@v5
name: "Set up Go"
with:
Expand Down
8 changes: 8 additions & 0 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,14 @@ changelog:
exclude:
- "^docs:"
- "^test:"
upx:
- enabled: true
goos: [linux, darwin]
goarch: [amd64, arm64]
goamd64: [v1]
goarm: [8]
compress: best
brute: true
release:
# If set to auto, will mark the release as not ready for production
# in case there is an indicator for this in the tag e.g. v1.0.0-alpha
Expand Down

0 comments on commit 51cc7d6

Please sign in to comment.