Merge pull request #345 from eed3si9n/wip/build2

sbt-extras uses different environment variable name
This commit is contained in:
eugene yokota 2020-11-09 14:37:20 -05:00 committed by GitHub
commit 3db3dff537
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions

View File

@ -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
@ -29,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: |