Skip to content

Commit c0d8345

Browse files
authored
Merge pull request #164 from xuwei-k/setup-java-scala-sbt
use `setup-java` and `setup-sbt` instead of deprecated `setup-scala`
2 parents b3bf50b + c7e5f3d commit c0d8345

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

.github/workflows/ci.yml

+4-2
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,11 @@ jobs:
1616
- uses: actions/setup-node@v3
1717
with:
1818
node-version: 16
19-
- uses: olafurpg/setup-scala@v10
19+
- uses: actions/setup-java@v4
2020
with:
21-
java-version: "[email protected]"
21+
distribution: temurin
22+
java-version: 8
23+
- uses: sbt/setup-sbt@v1
2224
- uses: coursier/cache-action@v5
2325
- name: Install Scala Native dependencies
2426
run: sudo apt-get install libgc-dev libunwind8-dev

.github/workflows/release.yml

+4-2
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,11 @@ jobs:
1010
- uses: actions/checkout@v3
1111
with:
1212
fetch-depth: 0
13-
- uses: olafurpg/setup-scala@v14
13+
- uses: actions/setup-java@v4
1414
with:
15-
java-version: "[email protected]"
15+
distribution: temurin
16+
java-version: 8
17+
- uses: sbt/setup-sbt@v1
1618
- run: sbt ci-release
1719
env:
1820
PGP_PASSPHRASE: ${{ secrets.PGP_PASSPHRASE }}

0 commit comments

Comments
 (0)