File tree Expand file tree Collapse file tree 2 files changed +10
-3
lines changed Expand file tree Collapse file tree 2 files changed +10
-3
lines changed Original file line number Diff line number Diff line change @@ -110,11 +110,14 @@ jobs:
110110 # less disk space.
111111 - name : free up disk space
112112 uses : jlumbroso/free-disk-space@54081f138730dfa15788a46383842cd2f914a1be
113- if : contains(matrix.os, 'ubuntu' )
113+ if : contains(matrix.free_some_disk, true )
114114 with :
115115 # Removing packages with APT saves ~5 GiB, but takes several
116116 # minutes (and potentially removes important packages).
117117 large-packages : false
118+ - name : free up disk space
119+ uses : jlumbroso/free-disk-space@54081f138730dfa15788a46383842cd2f914a1be
120+ if : contains(matrix.free_disk, true)
118121
119122 # Rust Log Analyzer can't currently detect the PR number of a GitHub
120123 # Actions build on its own, so a hint in the log message is needed to
Original file line number Diff line number Diff line change @@ -6,11 +6,15 @@ runners:
66
77 - &job-linux-4c
88 os : ubuntu-20.04
9+ # Free some disk space to avoid running out of space during the build.
10+ free_some_disk : true
911 << : *base-job
1012
11- # Large runner used mainly for its bigger disk capacity
1213 - &job-linux-4c-largedisk
13- os : ubuntu-20.04-4core-16gb
14+ os : ubuntu-20.04
15+ # Free as much disk space as possible to avoid running out of space during the build.
16+ # Only set this if `free_some_disk` is not enough because freeing disk takes time.
17+ free_disk : true
1418 << : *base-job
1519
1620 - &job-linux-8c
You can’t perform that action at this time.
0 commit comments