Skip to content

Commit

Permalink
feat: compress Linux binaries with UPX (#871)
Browse files Browse the repository at this point in the history
* feat: compress Linux binaries with UPX

* increase timeout
  • Loading branch information
dunglas committed Feb 28, 2024
1 parent 0a34f30 commit ba4c473
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/cd.yml
Expand Up @@ -57,7 +57,7 @@ jobs:
uses: goreleaser/goreleaser-action@v5
with:
version: latest
args: release --clean ${{ !startsWith(github.ref, 'refs/tags/v') && '--snapshot --skip=sign' || '' }}
args: release --clean --timeout 60m ${{ !startsWith(github.ref, 'refs/tags/v') && '--snapshot --skip=sign' || '' }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GPG_FINGERPRINT: ${{ startsWith(github.ref, 'refs/tags/v') && steps.import_gpg.outputs.fingerprint || '' }}
Expand Down
4 changes: 4 additions & 0 deletions .goreleaser.yml
Expand Up @@ -51,6 +51,10 @@ builds:
- amd64
- arm
- arm64
upx:
- enabled: true
goos: [linux]
compress: best
archives:
- builds:
- caddy
Expand Down

0 comments on commit ba4c473

Please sign in to comment.