Skip to content

Commit fcd9cc1

Browse files
committed
Unify setup jdk step across build pipeline
1 parent 1420761 commit fcd9cc1

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@ jobs:
1616
- name: Checkout
1717
uses: actions/checkout@v2
1818
- name: Set up JDK 11
19-
uses: actions/setup-java@v1
19+
uses: coursier/setup-action@v1.1.2
2020
with:
21-
java-version: 11
21+
jvm: adopt:11
2222
- name: Cache sbt
2323
uses: coursier/cache-action@v6
2424
with:
@@ -40,9 +40,9 @@ jobs:
4040
with:
4141
fetch-depth: 0 # checkout tags so that dynver works properly (we need the version for MiMa)
4242
- name: Set up JDK 11
43-
uses: actions/setup-java@v1
43+
uses: coursier/setup-action@v1.1.2
4444
with:
45-
java-version: 11
45+
jvm: adopt:11
4646
- name: Cache sbt
4747
uses: coursier/cache-action@v6
4848
with:
@@ -89,9 +89,9 @@ jobs:
8989
- name: Checkout
9090
uses: actions/checkout@v2
9191
- name: Set up JDK 11
92-
uses: actions/setup-java@v1
92+
uses: coursier/setup-action@v1.1.2
9393
with:
94-
java-version: 11
94+
jvm: adopt:11
9595
- name: Cache sbt
9696
uses: coursier/cache-action@v6
9797
with:

0 commit comments

Comments
 (0)