From 012ef62b8222e054a19337deac55e16753d081e7 Mon Sep 17 00:00:00 2001 From: eikek Date: Thu, 7 Mar 2024 21:46:14 +0100 Subject: [PATCH] Try give more resources to sbt ci jobs --- .github/workflows/release-nightly.yml | 4 ++++ .github/workflows/release.yml | 2 ++ 2 files changed, 6 insertions(+) diff --git a/.github/workflows/release-nightly.yml b/.github/workflows/release-nightly.yml index 100a044b..fa371efa 100644 --- a/.github/workflows/release-nightly.yml +++ b/.github/workflows/release-nightly.yml @@ -29,8 +29,12 @@ jobs: run: echo "DOCSPELL_VERSION=$(cat version.sbt | grep version | cut -d= -f2 | xargs)" >> $GITHUB_ENV - name: sbt ci ${{ github.ref }} run: sbt ci + env: + SBT_OPTS: "-Xmx2G -Xss4m" - name: sbt make-pkg (${{ env.DOCSPELL_VERSION }}) run: sbt make-pkg + env: + SBT_OPTS: "-Xmx2G -Xss4m" - uses: "marvinpinto/action-automatic-releases@latest" with: repo_token: "${{ secrets.GITHUB_TOKEN }}" diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 411e57fc..49d33cb9 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -29,6 +29,8 @@ jobs: run: echo "DOCSPELL_VERSION=$(cat version.sbt | grep version | cut -d= -f2 | xargs)" >> $GITHUB_ENV - name: sbt make-pkg (${{ env.DOCSPELL_VERSION }}) run: sbt make-pkg + env: + SBT_OPTS: "-Xmx2G -Xss4m" - uses: meeDamian/github-release@2.0 with: token: ${{ secrets.GITHUB_TOKEN }}