From 796ab41db0d90bb35ef83e4e46f0d1bb19f10a3c Mon Sep 17 00:00:00 2001 From: Eugene Yokota Date: Mon, 9 Nov 2020 14:16:48 -0500 Subject: [PATCH 1/2] sbt-extras uses different environment variable name --- .github/workflows/ci.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 458788d42..e1826f816 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -16,7 +16,9 @@ jobs: jobtype: 1 runs-on: ${{ matrix.os }} env: + # define Java options for both official sbt and sbt-extras JAVA_OPTS: -Xms2048M -Xmx2048M -Xss6M -XX:ReservedCodeCacheSize=256M + JVM_OPTS: -Xms2048M -Xmx2048M -Xss6M -XX:ReservedCodeCacheSize=256M steps: - name: Checkout uses: actions/checkout@v1 From b7d4614f540fe024c04b1f1c82ce88cd288dc983 Mon Sep 17 00:00:00 2001 From: Eugene Yokota Date: Mon, 9 Nov 2020 14:30:11 -0500 Subject: [PATCH 2/2] Use HOME --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e1826f816..11c60e597 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -31,7 +31,7 @@ jobs: - name: Cache sbt uses: actions/cache@v1 with: - path: ~/.sbt + path: $HOME/.sbt key: ${{ runner.os }}-sbt-cache-${{ hashFiles('**/*.sbt') }}-${{ hashFiles('project/build.properties') }} - name: Build and test run: |