File tree Expand file tree Collapse file tree 1 file changed +33
-1
lines changed Expand file tree Collapse file tree 1 file changed +33
-1
lines changed Original file line number Diff line number Diff line change 24
24
matrix :
25
25
os : [ubuntu-latest]
26
26
scala : [2.12.19, 2.13.13, 3.3.3]
27
- java : [temurin@11]
27
+ java : [temurin@11, temurin@17, temurin@21 ]
28
28
runs-on : ${{ matrix.os }}
29
29
steps :
30
30
- name : Checkout current branch (full)
40
40
java-version : 11
41
41
cache : sbt
42
42
43
+ - name : Setup Java (temurin@17)
44
+ if : matrix.java == 'temurin@17'
45
+ uses : actions/setup-java@v4
46
+ with :
47
+ distribution : temurin
48
+ java-version : 17
49
+ cache : sbt
50
+
51
+ - name : Setup Java (temurin@21)
52
+ if : matrix.java == 'temurin@21'
53
+ uses : actions/setup-java@v4
54
+ with :
55
+ distribution : temurin
56
+ java-version : 21
57
+ cache : sbt
58
+
43
59
- name : Check that workflows are up to date
44
60
run : sbt '++ ${{ matrix.scala }}' githubWorkflowCheck
45
61
82
98
java-version : 11
83
99
cache : sbt
84
100
101
+ - name : Setup Java (temurin@17)
102
+ if : matrix.java == 'temurin@17'
103
+ uses : actions/setup-java@v4
104
+ with :
105
+ distribution : temurin
106
+ java-version : 17
107
+ cache : sbt
108
+
109
+ - name : Setup Java (temurin@21)
110
+ if : matrix.java == 'temurin@21'
111
+ uses : actions/setup-java@v4
112
+ with :
113
+ distribution : temurin
114
+ java-version : 21
115
+ cache : sbt
116
+
85
117
- name : Download target directories (2.12.19)
86
118
uses : actions/download-artifact@v4
87
119
with :
You can’t perform that action at this time.
0 commit comments