diff --git a/.github/workflows/manual-release.yaml b/.github/workflows/manual-release.yaml index 4336ad0..99ffbb9 100644 --- a/.github/workflows/manual-release.yaml +++ b/.github/workflows/manual-release.yaml @@ -44,10 +44,12 @@ jobs: with: distribution: goreleaser version: "~> v2" - args: release --clean --skip=validate + args: release --clean --skip=validate --parallelism=1 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GORELEASER_CURRENT_TAG: ${{ steps.get-tag.outputs.tag }} + GOGC: "50" + GOMEMLIMIT: "5GiB" - name: Mark release as latest env: diff --git a/.goreleaser.yaml b/.goreleaser.yaml index 9575ae0..9d1b855 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -3,26 +3,20 @@ version: 2 project_name: osmedeus -before: - hooks: - - go mod tidy - builds: - id: osmedeus main: ./cmd/osmedeus binary: osmedeus env: - CGO_ENABLED=0 + flags: + - -trimpath goos: - linux - darwin goarch: - amd64 - arm64 - - 386 - ignore: - - goos: darwin - goarch: 386 ldflags: - -s -w - -X main.BuildTime={{.Date}}