Skip to content

Commit 08d8d0a

Browse files
authored
Add disk space check in CI
1 parent e8863ae commit 08d8d0a

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/ci.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -268,6 +268,13 @@ jobs:
268268
Build-LocalSecret:
269269
runs-on: ubuntu-22.04
270270
steps:
271+
- name: Check disk space BEFORE cleanup
272+
run: |
273+
df -h
274+
echo "=== Checking large directories ==="
275+
du -sh /usr/share/dotnet 2>/dev/null || echo "dotnet not found"
276+
du -sh /usr/local/lib/android 2>/dev/null || echo "android not found"
277+
du -sh /opt/ghc 2>/dev/null || echo "ghc not found"
271278
- name: Set up Docker Buildx
272279
uses: docker/setup-buildx-action@v2
273280
with:

0 commit comments

Comments
 (0)