mirror of https://github.com/sbt/sbt.git
Merge pull request #7161 from mzuehlke/replace_olafurpg-setup-scala-18x
Replace olafurpg/setup-scala with actions/setup-java
This commit is contained in:
commit
5b90e77ffa
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue