Skip to content

Commit 09d467e

Browse files
committed
Use coursier/setup-action instead of setup-java in GitHub Actions.
setup-java does not install sbt anymore.
1 parent c5ac901 commit 09d467e

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,10 @@ jobs:
2323
with:
2424
node-version: ${{ matrix.node-version }}
2525
- name: Set up JDK ${{ matrix.java }}
26-
uses: actions/setup-java@v3
26+
uses: coursier/setup-action@v1
2727
with:
28-
distribution: 'adopt'
29-
java-version: ${{ matrix.java }}
30-
cache: 'sbt'
28+
jvm: temurin:1.${{ matrix.java }}
29+
apps: sbt
3130

3231
- name: Cache dependencies
3332
uses: actions/cache@v3

0 commit comments

Comments
 (0)