Skip to content

Commit 44b2610

Browse files
committed
Scala 2.12.15 doesn't like Java 21?
That's quite surprising
1 parent 0b48f9e commit 44b2610

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
- 3.4.2
2222
java:
2323
- 11
24-
- 21
24+
- 17
2525
runs-on: ubuntu-latest
2626
steps:
2727
- name: Checkout

.github/workflows/release.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,11 @@ jobs:
1515
fetch-depth: 0 # fetch all tags to make sbt-dynver work properly
1616

1717
- name: Setup Java and Scala
18-
uses: olafurpg/setup-scala@v13
19-
20-
- name: Cache sbt
21-
uses: coursier/cache-action@v6
18+
uses: actions/setup-java@v4
19+
with:
20+
distribution: 'adopt'
21+
java-version: 17
22+
cache: 'sbt'
2223

2324
- name: Publish
2425
run: sbt ci-release

0 commit comments

Comments
 (0)