Skip to content

Commit 59533e2

Browse files
committed
use setup-java instead of deprecated olafurpg/setup-scala
1 parent a579d32 commit 59533e2

File tree

2 files changed

+9
-3
lines changed

2 files changed

+9
-3
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,11 @@ jobs:
1111

1212
steps:
1313
- uses: actions/checkout@v4
14-
- uses: olafurpg/setup-scala@v14
14+
- uses: actions/setup-java@v4
1515
with:
1616
java-version: 8
17+
distribution: adopt
18+
- uses: sbt/setup-sbt@v1
1719
- name: Mount caches
1820
uses: actions/cache@v2
1921
with:
@@ -47,9 +49,11 @@ jobs:
4749

4850
steps:
4951
- uses: actions/checkout@v4
50-
- uses: olafurpg/setup-scala@v14
52+
- uses: actions/setup-java@v4
5153
with:
5254
java-version: 11
55+
distribution: adopt
56+
- uses: sbt/setup-sbt@v1
5357
- name: Mount caches
5458
uses: actions/cache@v2
5559
with:

.github/workflows/release.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,11 @@ jobs:
1818
~/.ivy2/cache
1919
~/.cache/coursier
2020
key: ${{ runner.os }}-sbt-docs-${{ hashFiles('**/*.sbt') }}
21-
- uses: actions/setup-java@v1
21+
- uses: actions/setup-java@v4
2222
with:
2323
java-version: 8
24+
distribution: adopt
25+
- uses: sbt/setup-sbt@v1
2426
- name: Publish ${{ github.ref }}
2527
run: sbt ci-release
2628
env:

0 commit comments

Comments
 (0)