Skip to content

Commit 9dc145d

Browse files
liufengyunsmarter
andcommitted
Switch CI from JDK 11 to JDK 14
Co-Authored-By: Guillaume Martres <[email protected]>
1 parent d633b4c commit 9dc145d

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

.github/workflows/ci.yaml

+14-14
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@ on:
44
push:
55
paths-ignore:
66
# Do not run everything on changes only in docs
7-
- 'scala3doc/**'
7+
- 'scala3doc/**'
88
- 'scala3doc-testcases/**'
99
pull_request:
1010
paths-ignore:
1111
# Do not run everything on changes only in docs
12-
- 'scala3doc/**'
12+
- 'scala3doc/**'
1313
- 'scala3doc-testcases/**'
1414
schedule:
1515
- cron: '0 3 * * *' # Every day at 3 AM
@@ -20,13 +20,13 @@ env:
2020
jobs:
2121
test:
2222
runs-on: [self-hosted, Linux]
23-
container: lampepfl/dotty:2020-04-24
23+
container: lampepfl/dotty:2020-09-08
2424
if: "!(github.event_name == 'push' &&
2525
startsWith(github.event.ref, 'refs/tags/sbt-dotty-'))"
2626

2727
steps:
2828
- name: Set JDK 11 as default
29-
run: echo "/usr/lib/jvm/java-11-openjdk-amd64/bin" >> $GITHUB_PATH
29+
run: echo "/usr/lib/jvm/java-14-openjdk-amd64/bin" >> $GITHUB_PATH
3030

3131
- name: Checkout cleanup script
3232
uses: actions/checkout@v2
@@ -65,13 +65,13 @@ jobs:
6565
6666
test_bootstrapped:
6767
runs-on: [self-hosted, Linux]
68-
container: lampepfl/dotty:2020-04-24
68+
container: lampepfl/dotty:2020-09-08
6969
if: "!(github.event_name == 'push' &&
7070
startsWith(github.event.ref, 'refs/tags/sbt-dotty-'))"
7171

7272
steps:
7373
- name: Set JDK 11 as default
74-
run: echo "/usr/lib/jvm/java-11-openjdk-amd64/bin" >> $GITHUB_PATH
74+
run: echo "/usr/lib/jvm/java-14-openjdk-amd64/bin" >> $GITHUB_PATH
7575

7676
- name: Checkout cleanup script
7777
uses: actions/checkout@v2
@@ -143,7 +143,7 @@ jobs:
143143

144144
community_build:
145145
runs-on: [self-hosted, Linux]
146-
container: lampepfl/dotty:2020-04-24
146+
container: lampepfl/dotty:2020-09-08
147147

148148
steps:
149149
- name: Checkout cleanup script
@@ -184,7 +184,7 @@ jobs:
184184
185185
test_sbt:
186186
runs-on: [self-hosted, Linux]
187-
container: lampepfl/dotty:2020-04-24
187+
container: lampepfl/dotty:2020-09-08
188188
if: (
189189
github.event_name == 'push' &&
190190
startsWith(github.event.ref, 'refs/tags/')
@@ -227,7 +227,7 @@ jobs:
227227

228228
test_java8:
229229
runs-on: [self-hosted, Linux]
230-
container: lampepfl/dotty:2020-04-24
230+
container: lampepfl/dotty:2020-09-08
231231
if: "(
232232
github.event_name == 'push' &&
233233
startsWith(github.event.ref, 'refs/tags/') &&
@@ -274,7 +274,7 @@ jobs:
274274

275275
publish_nightly:
276276
runs-on: [self-hosted, Linux]
277-
container: lampepfl/dotty:2020-04-24
277+
container: lampepfl/dotty:2020-09-08
278278
needs: [test, test_bootstrapped, community_build, test_sbt, test_java8]
279279
if: github.event_name == 'schedule'
280280
env:
@@ -321,7 +321,7 @@ jobs:
321321
322322
nightly_documentation:
323323
runs-on: [self-hosted, Linux]
324-
container: lampepfl/dotty:2020-04-24
324+
container: lampepfl/dotty:2020-09-08
325325
needs: [publish_nightly]
326326
if: github.event_name == 'schedule'
327327
env:
@@ -375,7 +375,7 @@ jobs:
375375

376376
publish_release:
377377
runs-on: [self-hosted, Linux]
378-
container: lampepfl/dotty:2020-04-24
378+
container: lampepfl/dotty:2020-09-08
379379
needs: [test, test_bootstrapped, community_build, test_sbt, test_java8]
380380
if: github.event_name == 'push' &&
381381
startsWith(github.event.ref, 'refs/tags/') &&
@@ -470,7 +470,7 @@ jobs:
470470

471471
release_documentation:
472472
runs-on: [self-hosted, Linux]
473-
container: lampepfl/dotty:2020-04-24
473+
container: lampepfl/dotty:2020-09-08
474474
needs: [publish_release]
475475
if: github.event_name == 'push' &&
476476
startsWith(github.event.ref, 'refs/tags/') &&
@@ -527,7 +527,7 @@ jobs:
527527

528528
publish_sbt_release:
529529
runs-on: [self-hosted, Linux]
530-
container: lampepfl/dotty:2020-04-24
530+
container: lampepfl/dotty:2020-09-08
531531
needs: [community_build, test_sbt]
532532
if: github.event_name == 'push' &&
533533
startsWith(github.event.ref, 'refs/tags/sbt-dotty-')

0 commit comments

Comments
 (0)