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