Skip to content

Commit 4ec25b7

Browse files
committed
ci: changed java installation
1 parent 70edd64 commit 4ec25b7

File tree

3 files changed

+10
-8
lines changed

3 files changed

+10
-8
lines changed

.github/workflows/main_test_release.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,10 @@ jobs:
2424
timezoneMacos: "Europe/Berlin"
2525
timezoneWindows: "W. Europe Standard Time"
2626
- name: Set up JDK ${{ matrix.Java }}
27-
uses: actions/setup-java@main
27+
uses: coursier/setup-action@main
2828
with:
29-
distribution: 'corretto'
30-
java-version: ${{ matrix.java }}
29+
jvm: corretto:${{ matrix.Java }}
30+
apps: sbt scala scalac
3131
- name: Start MongoDB ${{ matrix.mongodb-version }}
3232
uses: MongoCamp/mongodb-github-action@main
3333
with:
@@ -48,10 +48,12 @@ jobs:
4848
- id: install-secret-key
4949
name: Install gpg secret key
5050
run: cat <(echo -e "${{ secrets.PGP_SECRET_KEY }}") | gpg --batch --import
51+
- name: Install pnpm
52+
uses: pnpm/action-setup@master
5153
- name: Set up JDK
5254
uses: coursier/setup-action@main
5355
with:
54-
jvm: graalvm-java17:22.3.3
56+
jvm: corretto:17
5557
apps: sbt scala scalac
5658
- name: Release
5759
env:

.github/workflows/other_test.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,10 @@ jobs:
1818
steps:
1919
- uses: actions/checkout@main
2020
- name: Set up JDK ${{ matrix.Java }}
21-
uses: actions/setup-java@main
21+
uses: coursier/setup-action@main
2222
with:
23-
distribution: 'corretto'
24-
java-version: ${{ matrix.java }}
23+
jvm: corretto:${{ matrix.Java }}
24+
apps: sbt scala scalac
2525
- name: Setup TimeZone
2626
uses: szenius/set-timezone@master
2727
with:

.github/workflows/release_and_changelog.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ jobs:
4343
- name: Set up JDK
4444
uses: coursier/setup-action@main
4545
with:
46-
jvm: graalvm-java17:22.3.3
46+
jvm: corretto:17
4747
apps: sbt scala scalac
4848

4949
- name: Install pnpm

0 commit comments

Comments
 (0)