File tree 1 file changed +12
-2
lines changed
1 file changed +12
-2
lines changed Original file line number Diff line number Diff line change 60
60
id : jobs
61
61
job :
62
62
name : ${{ matrix.name }}
63
- needs : [ calculate_matrix ]
63
+ needs : [calculate_matrix]
64
64
runs-on : " ${{ matrix.os }}"
65
65
defaults :
66
66
run :
@@ -104,6 +104,16 @@ jobs:
104
104
with :
105
105
fetch-depth : 2
106
106
107
+ - if : contains(matrix.os, 'windows')
108
+ uses : samypr100/setup-dev-drive@1d65529cfd809844a9e91e400a560294b6820a68
109
+ with :
110
+ # use as much space as is sensible, upper github limits are 14gb and 300gb
111
+ drive-size : ${{ matrix.os == 'windows-2022' && '12gb' || '250gb' }}
112
+ # pre-allocate the space to avoid out of disk errors and improve long-running performance
113
+ drive-type : Fixed
114
+ # mount the dev drive in the CWD
115
+ mount-path : ${{ github.workspace }}
116
+
107
117
# Rust Log Analyzer can't currently detect the PR number of a GitHub
108
118
# Actions build on its own, so a hint in the log message is needed to
109
119
# point it in the right direction.
@@ -230,7 +240,7 @@ jobs:
230
240
outcome :
231
241
name : bors build finished
232
242
runs-on : ubuntu-latest
233
- needs : [ calculate_matrix, job ]
243
+ needs : [calculate_matrix, job]
234
244
# !cancelled() executes the job regardless of whether the previous jobs passed or failed
235
245
if : ${{ !cancelled() && contains(fromJSON('["auto", "try"]'), needs.calculate_matrix.outputs.run_type) }}
236
246
steps :
You can’t perform that action at this time.
0 commit comments