Skip to content

Commit c3b1bc7

Browse files
committed
Use Java version in community-build
1 parent ef8cc3e commit c3b1bc7

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

.github/workflows/ci.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -263,6 +263,9 @@ jobs:
263263
)"
264264

265265
steps:
266+
- name: Set JDK 15 as default
267+
run: echo "/usr/lib/jvm/java-15-openjdk-amd64/bin" >> $GITHUB_PATH
268+
266269
- name: Reset existing repo
267270
run: git -c "http.https://github.com/.extraheader=" fetch --recurse-submodules=no "https://github.com/lampepfl/dotty" && git reset --hard FETCH_HEAD || true
268271

@@ -310,6 +313,9 @@ jobs:
310313
)"
311314

312315
steps:
316+
- name: Set JDK 15 as default
317+
run: echo "/usr/lib/jvm/java-15-openjdk-amd64/bin" >> $GITHUB_PATH
318+
313319
- name: Reset existing repo
314320
run: git -c "http.https://github.com/.extraheader=" fetch --recurse-submodules=no "https://github.com/lampepfl/dotty" && git reset --hard FETCH_HEAD || true
315321

@@ -357,6 +363,9 @@ jobs:
357363
)"
358364

359365
steps:
366+
- name: Set JDK 17 as default
367+
run: echo "/usr/lib/jvm/java-17-openjdk-amd64/bin" >> $GITHUB_PATH
368+
360369
- name: Reset existing repo
361370
run: git -c "http.https://github.com/.extraheader=" fetch --recurse-submodules=no "https://github.com/lampepfl/dotty" && git reset --hard FETCH_HEAD || true
362371

0 commit comments

Comments
 (0)