Skip to content

Commit 491eb8f

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 <david@readahead.eu>
1 parent 43c8586 commit 491eb8f

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

.github/workflows/containers.yml

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

0 commit comments

Comments
 (0)