Skip to content

Commit 9b14ac3

Browse files
committed
Replace deprecated olafurpg/setup-scala with actions/setup-java
1 parent e38976f commit 9b14ac3

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ jobs:
88
steps:
99
- uses: actions/checkout@v2
1010
- uses: coursier/cache-action@v5
11-
- uses: olafurpg/setup-scala@v10
11+
- uses: actions/setup-java@v2
12+
with:
13+
java-version: '11'
14+
distribution: 'adopt'
1215
- run: git fetch --unshallow
1316
- run: sbt +test libraryJVM/versionPolicyCheck

.github/workflows/release.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,10 @@ jobs:
99
runs-on: ubuntu-20.04
1010
steps:
1111
- uses: actions/[email protected]
12-
- uses: olafurpg/setup-scala@v10
12+
- uses: actions/setup-java@v2
13+
with:
14+
java-version: '11'
15+
distribution: 'adopt'
1316
- uses: coursier/cache-action@v5
1417
- run: git fetch --unshallow
1518
- run: sbt versionCheck ci-release

0 commit comments

Comments
 (0)