Skip to content

Commit 65503eb

Browse files
committed
Try to free up space
1 parent 81c093a commit 65503eb

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

.github/workflows/build-linux-debug.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,19 @@ jobs:
7070
restore-keys: |
7171
${{ runner.os }}-deps-
7272
73+
74+
- name: Clean before deps build
75+
if: steps.cache-deps-restore.outputs.cache-hit != 'true'
76+
run: |
77+
# Clean conda cache
78+
conda clean -all -y
79+
# Clean apt cache
80+
apt-get clean
81+
# Clean tmp directories
82+
rm -rf /tmp/*
83+
# Clean GitHub Actions tool cache
84+
rm -rf /opt/hostedtoolcache/CodeQL /opt/hostedtoolcache/go /opt/hostedtoolcache/PyPy
85+
7386
- name: Check space4
7487
run: df -h
7588

0 commit comments

Comments
 (0)