Skip to content

Commit 1902c91

Browse files
committed
Clean up cache to free space
1 parent 71ccd5a commit 1902c91

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/python-package.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,14 @@ jobs:
9191
if: matrix.python-version == '3.8' || matrix.python-version == '3.9'
9292
run: |
9393
pip install -e .[vw]
94+
- name: Clean up cache to free space
95+
run: |
96+
echo "Run `sudo rm -rf /home/runner/actions-runner/cached/*` to clear GitHub Actions cache"
97+
sudo rm -rf /home/runner/actions-runner/cached/*
98+
- name: Clear pip cache
99+
run: |
100+
echo "Run `pip cache purge` to clear pip cache"
101+
pip cache purge
94102
- name: Test with pytest
95103
if: matrix.python-version != '3.10'
96104
run: |

0 commit comments

Comments
 (0)