File tree Expand file tree Collapse file tree 2 files changed +14
-32
lines changed Expand file tree Collapse file tree 2 files changed +14
-32
lines changed Original file line number Diff line number Diff line change @@ -30,22 +30,12 @@ jobs:
30
30
fetch-depth : 0
31
31
ssh-key : ${{ secrets.DOCS_KEY }}
32
32
33
- - name : Cache Coursier
34
- uses : actions/cache@v1
33
+ - name : Set up JDK 17
34
+ uses : actions/setup-java@v3
35
35
with :
36
- path : ~/.cache/coursier
37
- key : sbt-coursier-cache
38
-
39
- - name : Cache SBT
40
- uses : actions/cache@v1
41
- with :
42
- path : ~/.sbt
43
- key : sbt-${{ hashFiles('**/build.sbt') }}
44
-
45
- - name : Set up JDK 11
46
- uses : actions/setup-java@v1
47
- with :
48
- java-version : 11
36
+ distribution : ' temurin'
37
+ java-version : 17
38
+ cache : ' sbt'
49
39
50
40
- name : Generate reference documentation and test links
51
41
run : |
Original file line number Diff line number Diff line change @@ -26,21 +26,12 @@ jobs:
26
26
- name : Git Checkout
27
27
uses : actions/checkout@v3
28
28
29
- - name : Cache Coursier
30
- uses : actions/cache@v1
29
+ - name : Set up JDK 17
30
+ uses : actions/setup-java@v3
31
31
with :
32
- path : ~/.cache/coursier
33
- key : sbt-coursier-cache
34
- - name : Cache SBT
35
- uses : actions/cache@v1
36
- with :
37
- path : ~/.sbt
38
- key : sbt-${{ hashFiles('**/build.sbt') }}
39
-
40
- - name : Set up JDK 11
41
- uses : actions/setup-java@v1
42
- with :
43
- java-version : 11
32
+ distribution : ' temurin'
33
+ java-version : 17
34
+ cache : ' sbt'
44
35
45
36
- name : Compile and test scala3doc-js
46
37
run : ./project/scripts/sbt scaladoc-js-main/test
@@ -98,10 +89,11 @@ jobs:
98
89
- name : Git Checkout
99
90
uses : actions/checkout@v3
100
91
101
- - name : Set up JDK 8
102
- uses : actions/setup-java@v1
92
+ - name : Set up JDK 17
93
+ uses : actions/setup-java@v3
103
94
with :
104
- java-version : 8
95
+ distribution : ' temurin'
96
+ java-version : 17
105
97
106
98
- name : Test sourcelinks to stdlib
107
99
run : true # ./project/scripts/sbt scaladoc/sourceLinksIntegrationTest:test
You can’t perform that action at this time.
0 commit comments