Skip to content

Commit 3a426c4

Browse files
committed
Test
1 parent 189ed7c commit 3a426c4

File tree

1 file changed

+46
-0
lines changed

1 file changed

+46
-0
lines changed

.github/workflows/build-project.yaml

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)