mirror of
https://github.com/j3ssie/osmedeus.git
synced 2026-08-17 21:25:49 +02:00
ci: mirror nightly OOM fixes in manual release (parallelism=1, GOMEMLIMIT, -trimpath)
This commit is contained in:
@@ -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
@@ -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}}
|
||||
|
||||
Reference in New Issue
Block a user