Merge pull request #7161 from mzuehlke/replace_olafurpg-setup-scala-18x

Replace olafurpg/setup-scala with actions/setup-java
This commit is contained in:
eugene yokota 2023-02-27 22:08:41 -05:00 committed by GitHub
commit 5b90e77ffa
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: include:
- os: ubuntu-latest - os: ubuntu-latest
java: 8 java: 8
distribution: adopt
runs-on: ${{ matrix.os }} runs-on: ${{ matrix.os }}
env: env:
JAVA_OPTS: -Xms800M -Xmx800M -Xss6M -XX:ReservedCodeCacheSize=128M -server -Dsbt.io.virtual=false -Dfile.encoding=UTF-8 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 repository: sbt/zinc
ref: develop ref: develop
path: zinc path: zinc
- name: Setup - name: Setup JDK
uses: olafurpg/setup-scala@v13 uses: actions/setup-java@v3
with: with:
java-version: "adopt@1.${{ matrix.java }}" distribution: "${{ matrix.distribution }}"
java-version: "${{ matrix.java }}"
- name: Coursier cache - name: Coursier cache
uses: coursier/cache-action@v6 uses: coursier/cache-action@v6
- name: Build and deploy - name: Build and deploy