Merge pull request #7154 from mzuehlke/replace_olafurpg-setup-scala

Replace olafurpg/setup-scala with actions/setup-java
This commit is contained in:
eugene yokota 2023-02-21 00:08:52 -05:00 committed by GitHub
commit a326ee19c6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 3 deletions

View File

@ -15,6 +15,7 @@ jobs:
include:
- os: ubuntu-latest
java: 8
distribution: adopt
runs-on: ${{ matrix.os }}
env:
JAVA_OPTS: -Xms800M -Xmx800M -Xss6M -XX:ReservedCodeCacheSize=128M -server -Dsbt.io.virtual=false -Dfile.encoding=UTF-8
@ -39,10 +40,11 @@ jobs:
repository: sbt/zinc
ref: develop
path: zinc
- name: Setup
uses: olafurpg/setup-scala@v14
- name: Setup JDK
uses: actions/setup-java@v3
with:
java-version: "adopt@1.${{ matrix.java }}"
distribution: "${{ matrix.distribution }}"
java-version: "${{ matrix.java }}"
- name: Coursier cache
uses: coursier/cache-action@v6
- name: Build and deploy