mirror of https://github.com/sbt/sbt.git
Replace olafurpg/setup-scala with actions/setup-java
https://github.com/olafurpg/setup-scala/releases/tag/v14 is deprecated and migration to actions/setup-java is encouraged. That action is already used in `ci.yml`
This commit is contained in:
parent
b5527cb358
commit
8e4e2067fc
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue