ci: mirror nightly OOM fixes in manual release (parallelism=1, GOMEMLIMIT, -trimpath)

This commit is contained in:
j3ssie
2026-04-15 22:12:07 +08:00
parent 1c9963f223
commit f467fa3c08
2 changed files with 5 additions and 9 deletions
+3 -1
View File
@@ -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:
+2 -8
View File
@@ -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}}