48
48
distribution : jdkfile
49
49
java-version : 8
50
50
jdkFile : ${{ steps.download-java-temurin-8.outputs.jdkFile }}
51
+ cache : sbt
51
52
52
53
- name : Download Java (temurin@17)
53
54
id : download-java-temurin-17
64
65
distribution : jdkfile
65
66
java-version : 17
66
67
jdkFile : ${{ steps.download-java-temurin-17.outputs.jdkFile }}
67
-
68
- - name : Cache sbt
69
- uses : actions/cache@v3
70
- with :
71
- path : |
72
- ~/.sbt
73
- ~/.ivy2/cache
74
- ~/.coursier/cache/v1
75
- ~/.cache/coursier/v1
76
- ~/AppData/Local/Coursier/Cache/v1
77
- ~/Library/Caches/Coursier/v1
78
- key : ${{ runner.os }}-sbt-cache-v2-${{ hashFiles('**/*.sbt') }}-${{ hashFiles('project/build.properties') }}
68
+ cache : sbt
79
69
80
70
- name : Check that workflows are up to date
81
71
run : sbt githubWorkflowCheck
@@ -145,6 +135,7 @@ jobs:
145
135
distribution : jdkfile
146
136
java-version : 8
147
137
jdkFile : ${{ steps.download-java-temurin-8.outputs.jdkFile }}
138
+ cache : sbt
148
139
149
140
- name : Download Java (temurin@17)
150
141
id : download-java-temurin-17
@@ -161,18 +152,7 @@ jobs:
161
152
distribution : jdkfile
162
153
java-version : 17
163
154
jdkFile : ${{ steps.download-java-temurin-17.outputs.jdkFile }}
164
-
165
- - name : Cache sbt
166
- uses : actions/cache@v3
167
- with :
168
- path : |
169
- ~/.sbt
170
- ~/.ivy2/cache
171
- ~/.coursier/cache/v1
172
- ~/.cache/coursier/v1
173
- ~/AppData/Local/Coursier/Cache/v1
174
- ~/Library/Caches/Coursier/v1
175
- key : ${{ runner.os }}-sbt-cache-v2-${{ hashFiles('**/*.sbt') }}-${{ hashFiles('project/build.properties') }}
155
+ cache : sbt
176
156
177
157
- name : Download target directories (2.12.17, sbt-typelevelJVM)
178
158
uses : actions/download-artifact@v3
@@ -238,6 +218,7 @@ jobs:
238
218
distribution : jdkfile
239
219
java-version : 8
240
220
jdkFile : ${{ steps.download-java-temurin-8.outputs.jdkFile }}
221
+ cache : sbt
241
222
242
223
- name : Download Java (temurin@17)
243
224
id : download-java-temurin-17
@@ -254,18 +235,7 @@ jobs:
254
235
distribution : jdkfile
255
236
java-version : 17
256
237
jdkFile : ${{ steps.download-java-temurin-17.outputs.jdkFile }}
257
-
258
- - name : Cache sbt
259
- uses : actions/cache@v3
260
- with :
261
- path : |
262
- ~/.sbt
263
- ~/.ivy2/cache
264
- ~/.coursier/cache/v1
265
- ~/.cache/coursier/v1
266
- ~/AppData/Local/Coursier/Cache/v1
267
- ~/Library/Caches/Coursier/v1
268
- key : ${{ runner.os }}-sbt-cache-v2-${{ hashFiles('**/*.sbt') }}-${{ hashFiles('project/build.properties') }}
238
+ cache : sbt
269
239
270
240
- name : Submit Dependencies
271
241
uses : scalacenter/sbt-dependency-submission@v2
@@ -299,6 +269,7 @@ jobs:
299
269
distribution : jdkfile
300
270
java-version : 8
301
271
jdkFile : ${{ steps.download-java-temurin-8.outputs.jdkFile }}
272
+ cache : sbt
302
273
303
274
- name : Download Java (temurin@17)
304
275
id : download-java-temurin-17
@@ -315,18 +286,7 @@ jobs:
315
286
distribution : jdkfile
316
287
java-version : 17
317
288
jdkFile : ${{ steps.download-java-temurin-17.outputs.jdkFile }}
318
-
319
- - name : Cache sbt
320
- uses : actions/cache@v3
321
- with :
322
- path : |
323
- ~/.sbt
324
- ~/.ivy2/cache
325
- ~/.coursier/cache/v1
326
- ~/.cache/coursier/v1
327
- ~/AppData/Local/Coursier/Cache/v1
328
- ~/Library/Caches/Coursier/v1
329
- key : ${{ runner.os }}-sbt-cache-v2-${{ hashFiles('**/*.sbt') }}-${{ hashFiles('project/build.properties') }}
289
+ cache : sbt
330
290
331
291
- name : Generate site
332
292
run : sbt '++${{ matrix.scala }}' docs/tlSite
0 commit comments