File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -104,6 +104,18 @@ jobs:
104104 with :
105105 fetch-depth : 2
106106
107+ # Free up disk space on Linux by removing preinstalled components that
108+ # we do not need. We do this to enable some of the less resource
109+ # intensive jobs to run on free runners, which however also have
110+ # less disk space.
111+ - name : free up disk space
112+ uses : jlumbroso/free-disk-space@54081f138730dfa15788a46383842cd2f914a1be
113+ if : contains(matrix.os, 'ubuntu')
114+ with :
115+ # Removing packages with APT saves ~5 GiB, but takes several
116+ # minutes (and potentially removes important packages).
117+ large-packages : false
118+
107119 # Rust Log Analyzer can't currently detect the PR number of a GitHub
108120 # Actions build on its own, so a hint in the log message is needed to
109121 # point it in the right direction.
You can’t perform that action at this time.
0 commit comments