mirror of
https://github.com/mark3labs/kit.git
synced 2026-06-13 19:20:06 +00:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user