ci(release): limit goreleaser parallelism to avoid OOM on runner

A single clean cross-build peaks at ~7GB RSS (internal/extensions yaegi
symbol table). goreleaser builds targets in parallel by default, which
exhausts the 7GB ubuntu-latest runner and OOM-kills the build with no
error output. Force --parallelism 1 and cap go compiler with GOFLAGS=-p=2.
This commit is contained in:
Ed Zynda
2026-05-29 16:42:28 +03:00
parent 1a2f6da40f
commit 67722b0c24
+2 -1
View File
@@ -35,9 +35,10 @@ jobs:
with:
distribution: goreleaser
version: "~> v2"
args: release --clean
args: release --clean --parallelism 1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GOFLAGS: -p=2
npm-publish:
runs-on: ubuntu-latest