Skip to content

Commit 2d0cb46

Browse files
add java setup + sbt
1 parent 8da5751 commit 2d0cb46

2 files changed

Lines changed: 6 additions & 8 deletions

File tree

.github/workflows/ci.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,10 @@ jobs:
99
steps:
1010
- uses: actions/checkout@v4
1111

12-
- uses: actions/setup-java@v4
12+
- uses: coursier/setup-action@v3.0.0
1313
with:
14-
distribution: temurin
15-
java-version: 21
16-
cache: sbt
14+
jvm: temurin:21
15+
apps: sbt
1716

1817
- name: Run scripted tests
1918
run: sbt scripted

.github/workflows/release.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,10 @@ jobs:
1111
steps:
1212
- uses: actions/checkout@v4
1313

14-
- uses: actions/setup-java@v4
14+
- uses: coursier/setup-action@v3.0.0
1515
with:
16-
distribution: temurin
17-
java-version: 21
18-
cache: sbt
16+
jvm: temurin:21
17+
apps: sbt
1918

2019
- name: Publish to Cloudsmith
2120
env:

0 commit comments

Comments
 (0)