File tree Expand file tree Collapse file tree 1 file changed +46
-0
lines changed
Expand file tree Collapse file tree 1 file changed +46
-0
lines changed Original file line number Diff line number Diff line change @@ -251,7 +251,53 @@ jobs:
251251 container :
252252 image : ghcr.io/flathub-infra/flatpak-github-actions:kde-6.8
253253 options : --privileged
254+ volumes :
255+ - /usr/local/lib/android:/to_clean/android
256+ - /opt/hostedtoolcache/CodeQL:/to_clean/codeql
257+ - /usr/local/.ghcup:/to_clean/ghcup
258+ - /opt/hostedtoolcache/Python:/to_clean/python
259+ - /usr/share/swift:/to_clean/swift
260+ - /usr/share/dotnet:/to_clean/dotnet
254261 steps :
262+ - name : Prepare build space
263+ shell : bash
264+ env :
265+ DUST_ARGS : --no-progress --no-colors --only-dir --limit-filesystem /
266+ run : |
267+ : Prepare build space
268+
269+ echo ::group::Available storage
270+ df -h
271+ echo ::endgroup::
272+
273+ echo ::group::Remove Android stuff
274+ rm -rf /to_clean/android/*
275+ echo ::endgroup::
276+
277+ echo ::group::Remove CodeQL stuff
278+ rm -rf /to_clean/codeql/*
279+ echo ::endgroup::
280+
281+ echo ::group::Remove GHCup stuff
282+ rm -rf /to_clean/ghcup/*
283+ echo ::endgroup::
284+
285+ echo ::group::Remove Python stuff
286+ rm -rf /to_clean/python/*
287+ echo ::endgroup::
288+
289+ echo ::group::Remove Swift stuff
290+ rm -rf /to_clean/swift/*
291+ echo ::endgroup::
292+
293+ echo ::group::Remove .NET stuff
294+ rm -rf /to_clean/dotnet/*
295+ echo ::endgroup::
296+
297+ echo ::group::Available storage
298+ df -h
299+ echo ::endgroup::
300+
255301 - uses : actions/checkout@v4
256302 with :
257303 submodules : recursive
You can’t perform that action at this time.
0 commit comments