@@ -26,10 +26,11 @@ jobs:
26
26
build :
27
27
name : Build and Test
28
28
strategy :
29
+ fail-fast : false
29
30
matrix :
30
31
os : [ubuntu-latest]
31
32
scala : [2.12, 2.13, 3]
32
- java : [corretto @11]
33
+ java : [temurin @11]
33
34
project : [rootJS, rootJVM, rootNative]
34
35
exclude :
35
36
- scala : 3
@@ -42,17 +43,17 @@ jobs:
42
43
with :
43
44
fetch-depth : 0
44
45
45
- - name : Setup Java (corretto @11)
46
- id : setup-java-corretto -11
47
- if : matrix.java == 'corretto @11'
46
+ - name : Setup Java (temurin @11)
47
+ id : setup-java-temurin -11
48
+ if : matrix.java == 'temurin @11'
48
49
uses : actions/setup-java@v4
49
50
with :
50
- distribution : corretto
51
+ distribution : temurin
51
52
java-version : 11
52
53
cache : sbt
53
54
54
55
- name : sbt update
55
- if : matrix.java == 'corretto @11' && steps.setup-java-corretto -11.outputs.cache-hit == 'false'
56
+ if : matrix.java == 'temurin @11' && steps.setup-java-temurin -11.outputs.cache-hit == 'false'
56
57
run : ./sbt +update
57
58
58
59
- name : Check that workflows are up to date
@@ -70,11 +71,11 @@ jobs:
70
71
run : ./sbt 'project ${{ matrix.project }}' '++ ${{ matrix.scala }}' test
71
72
72
73
- name : Check binary compatibility
73
- if : matrix.java == 'corretto @11' && matrix.os == 'ubuntu-latest'
74
+ if : matrix.java == 'temurin @11' && matrix.os == 'ubuntu-latest'
74
75
run : ./sbt 'project ${{ matrix.project }}' '++ ${{ matrix.scala }}' mimaReportBinaryIssues
75
76
76
77
- name : Generate API documentation
77
- if : matrix.java == 'corretto @11' && matrix.os == 'ubuntu-latest'
78
+ if : matrix.java == 'temurin @11' && matrix.os == 'ubuntu-latest'
78
79
run : ./sbt 'project ${{ matrix.project }}' '++ ${{ matrix.scala }}' doc
79
80
80
81
- name : Make target directories
@@ -99,25 +100,25 @@ jobs:
99
100
strategy :
100
101
matrix :
101
102
os : [ubuntu-latest]
102
- java : [corretto @11]
103
+ java : [temurin @11]
103
104
runs-on : ${{ matrix.os }}
104
105
steps :
105
106
- name : Checkout current branch (full)
106
107
uses : actions/checkout@v4
107
108
with :
108
109
fetch-depth : 0
109
110
110
- - name : Setup Java (corretto @11)
111
- id : setup-java-corretto -11
112
- if : matrix.java == 'corretto @11'
111
+ - name : Setup Java (temurin @11)
112
+ id : setup-java-temurin -11
113
+ if : matrix.java == 'temurin @11'
113
114
uses : actions/setup-java@v4
114
115
with :
115
- distribution : corretto
116
+ distribution : temurin
116
117
java-version : 11
117
118
cache : sbt
118
119
119
120
- name : sbt update
120
- if : matrix.java == 'corretto @11' && steps.setup-java-corretto -11.outputs.cache-hit == 'false'
121
+ if : matrix.java == 'temurin @11' && steps.setup-java-temurin -11.outputs.cache-hit == 'false'
121
122
run : ./sbt +update
122
123
123
124
- name : Download target directories (2.12, rootJS)
@@ -230,25 +231,25 @@ jobs:
230
231
strategy :
231
232
matrix :
232
233
os : [ubuntu-latest]
233
- java : [corretto @11]
234
+ java : [temurin @11]
234
235
runs-on : ${{ matrix.os }}
235
236
steps :
236
237
- name : Checkout current branch (full)
237
238
uses : actions/checkout@v4
238
239
with :
239
240
fetch-depth : 0
240
241
241
- - name : Setup Java (corretto @11)
242
- id : setup-java-corretto -11
243
- if : matrix.java == 'corretto @11'
242
+ - name : Setup Java (temurin @11)
243
+ id : setup-java-temurin -11
244
+ if : matrix.java == 'temurin @11'
244
245
uses : actions/setup-java@v4
245
246
with :
246
- distribution : corretto
247
+ distribution : temurin
247
248
java-version : 11
248
249
cache : sbt
249
250
250
251
- name : sbt update
251
- if : matrix.java == 'corretto @11' && steps.setup-java-corretto -11.outputs.cache-hit == 'false'
252
+ if : matrix.java == 'temurin @11' && steps.setup-java-temurin -11.outputs.cache-hit == 'false'
252
253
run : ./sbt +update
253
254
254
255
- name : Submit Dependencies
0 commit comments