20
20
jobs :
21
21
test :
22
22
runs-on : [self-hosted, Linux]
23
- container : lampepfl/dotty:2020-09-08
23
+ container :
24
+ image : lampepfl/dotty:2020-09-08
25
+ volumes :
26
+ - ${{ github.workspace }}/../../cache/sbt:/root/.sbt
27
+ - ${{ github.workspace }}/../../cache/ivy:/root/.ivy2/cache
28
+ - ${{ github.workspace }}/../../cache/general:/root/.cache
24
29
if : " !(github.event_name == 'push' &&
25
30
startsWith(github.event.ref, 'refs/tags/sbt-dotty-'))"
26
31
44
49
45
50
test_bootstrapped :
46
51
runs-on : [self-hosted, Linux]
47
- container : lampepfl/dotty:2020-09-08
52
+ container :
53
+ image : lampepfl/dotty:2020-09-08
54
+ volumes :
55
+ - ${{ github.workspace }}/../../cache/sbt:/root/.sbt
56
+ - ${{ github.workspace }}/../../cache/ivy:/root/.ivy2/cache
57
+ - ${{ github.workspace }}/../../cache/general:/root/.cache
48
58
if : " !(github.event_name == 'push' &&
49
59
startsWith(github.event.ref, 'refs/tags/sbt-dotty-'))"
50
60
@@ -108,7 +118,12 @@ jobs:
108
118
109
119
community_build_a :
110
120
runs-on : [self-hosted, Linux]
111
- container : lampepfl/dotty:2020-09-08
121
+ container :
122
+ image : lampepfl/dotty:2020-09-08
123
+ volumes :
124
+ - ${{ github.workspace }}/../../cache/sbt:/root/.sbt
125
+ - ${{ github.workspace }}/../../cache/ivy:/root/.ivy2/cache
126
+ - ${{ github.workspace }}/../../cache/general:/root/.cache
112
127
113
128
steps :
114
129
- name : Checkout cleanup script
@@ -131,7 +146,12 @@ jobs:
131
146
132
147
community_build_b :
133
148
runs-on : [self-hosted, Linux]
134
- container : lampepfl/dotty:2020-09-08
149
+ container :
150
+ image : lampepfl/dotty:2020-09-08
151
+ volumes :
152
+ - ${{ github.workspace }}/../../cache/sbt:/root/.sbt
153
+ - ${{ github.workspace }}/../../cache/ivy:/root/.ivy2/cache
154
+ - ${{ github.workspace }}/../../cache/general:/root/.cache
135
155
136
156
steps :
137
157
- name : Checkout cleanup script
@@ -154,7 +174,12 @@ jobs:
154
174
155
175
test_sbt :
156
176
runs-on : [self-hosted, Linux]
157
- container : lampepfl/dotty:2020-09-08
177
+ container :
178
+ image : lampepfl/dotty:2020-09-08
179
+ volumes :
180
+ - ${{ github.workspace }}/../../cache/sbt:/root/.sbt
181
+ - ${{ github.workspace }}/../../cache/ivy:/root/.ivy2/cache
182
+ - ${{ github.workspace }}/../../cache/general:/root/.cache
158
183
if : (
159
184
github.event_name == 'push' &&
160
185
startsWith(github.event.ref, 'refs/tags/')
@@ -176,7 +201,13 @@ jobs:
176
201
177
202
test_java8 :
178
203
runs-on : [self-hosted, Linux]
179
- container : lampepfl/dotty:2020-09-08
204
+ container :
205
+ image : lampepfl/dotty:2020-09-08
206
+ volumes :
207
+ - ${{ github.workspace }}/../../cache/sbt:/root/.sbt
208
+ - ${{ github.workspace }}/../../cache/ivy:/root/.ivy2/cache
209
+ - ${{ github.workspace }}/../../cache/general:/root/.cache
210
+
180
211
if : " (
181
212
github.event_name == 'push' &&
182
213
startsWith(github.event.ref, 'refs/tags/') &&
@@ -202,7 +233,12 @@ jobs:
202
233
203
234
publish_nightly :
204
235
runs-on : [self-hosted, Linux]
205
- container : lampepfl/dotty:2020-09-08
236
+ container :
237
+ image : lampepfl/dotty:2020-09-08
238
+ volumes :
239
+ - ${{ github.workspace }}/../../cache/sbt:/root/.sbt
240
+ - ${{ github.workspace }}/../../cache/ivy:/root/.ivy2/cache
241
+ - ${{ github.workspace }}/../../cache/general:/root/.cache
206
242
needs : [test, test_bootstrapped, community_build_a, community_build_b, test_sbt, test_java8]
207
243
if : github.event_name == 'schedule'
208
244
env :
@@ -228,7 +264,12 @@ jobs:
228
264
229
265
nightly_documentation :
230
266
runs-on : [self-hosted, Linux]
231
- container : lampepfl/dotty:2020-09-08
267
+ container :
268
+ image : lampepfl/dotty:2020-09-08
269
+ volumes :
270
+ - ${{ github.workspace }}/../../cache/sbt:/root/.sbt
271
+ - ${{ github.workspace }}/../../cache/ivy:/root/.ivy2/cache
272
+ - ${{ github.workspace }}/../../cache/general:/root/.cache
232
273
needs : [publish_nightly]
233
274
if : github.event_name == 'schedule'
234
275
env :
@@ -261,7 +302,12 @@ jobs:
261
302
262
303
publish_release :
263
304
runs-on : [self-hosted, Linux]
264
- container : lampepfl/dotty:2020-09-08
305
+ container :
306
+ image : lampepfl/dotty:2020-09-08
307
+ volumes :
308
+ - ${{ github.workspace }}/../../cache/sbt:/root/.sbt
309
+ - ${{ github.workspace }}/../../cache/ivy:/root/.ivy2/cache
310
+ - ${{ github.workspace }}/../../cache/general:/root/.cache
265
311
needs : [test, test_bootstrapped, community_build_a, community_build_b, test_sbt, test_java8]
266
312
if : github.event_name == 'push' &&
267
313
startsWith(github.event.ref, 'refs/tags/') &&
@@ -335,7 +381,12 @@ jobs:
335
381
336
382
release_documentation :
337
383
runs-on : [self-hosted, Linux]
338
- container : lampepfl/dotty:2020-09-08
384
+ container :
385
+ image : lampepfl/dotty:2020-09-08
386
+ volumes :
387
+ - ${{ github.workspace }}/../../cache/sbt:/root/.sbt
388
+ - ${{ github.workspace }}/../../cache/ivy:/root/.ivy2/cache
389
+ - ${{ github.workspace }}/../../cache/general:/root/.cache
339
390
needs : [publish_release]
340
391
if : github.event_name == 'push' &&
341
392
startsWith(github.event.ref, 'refs/tags/') &&
@@ -371,7 +422,12 @@ jobs:
371
422
372
423
publish_sbt_release :
373
424
runs-on : [self-hosted, Linux]
374
- container : lampepfl/dotty:2020-09-08
425
+ container :
426
+ image : lampepfl/dotty:2020-09-08
427
+ volumes :
428
+ - ${{ github.workspace }}/../../cache/sbt:/root/.sbt
429
+ - ${{ github.workspace }}/../../cache/ivy:/root/.ivy2/cache
430
+ - ${{ github.workspace }}/../../cache/general:/root/.cache
375
431
needs : [community_build_a, community_build_b, test_sbt]
376
432
if : github.event_name == 'push' &&
377
433
startsWith(github.event.ref, 'refs/tags/sbt-dotty-')
0 commit comments