diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index 05bbb4c7..c87bc6d4 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -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 || '' }} diff --git a/.goreleaser.yml b/.goreleaser.yml index 78eae4cc..a12074cf 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -51,6 +51,10 @@ builds: - amd64 - arm - arm64 +upx: + - enabled: true + goos: [linux] + compress: best archives: - builds: - caddy