Skip to content

Commit 4f3118b

Browse files
committed
ci: try to increase available disk space
Add some workarounds to increase the available disk space and avoid running out of space when building fedora containers. Signed-off-by: David Rheinsberg <[email protected]>
1 parent 43c8586 commit 4f3118b

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

.github/workflows/containers.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,18 @@ jobs:
103103
env:
104104
CAB_UNIQUEID: ${{ needs.config.outputs.now }}
105105
steps:
106+
- name: "Clean up Disk Space"
107+
run: |
108+
df -h
109+
sudo rm -rf \
110+
/opt/ghc \
111+
/opt/hostedtoolcache/CodeQL \
112+
/usr/local/lib/android \
113+
/usr/share/dotnet
114+
sudo docker image prune --all --force
115+
sudo docker builder prune -a
116+
df -h
117+
106118
- name: "Clone Repository"
107119
uses: actions/checkout@v3
108120

0 commit comments

Comments
 (0)