Skip to content

Commit 4863567

Browse files
committed
ci: investigate slow cleanup times.
1 parent a2279ca commit 4863567

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

.github/workflows/build-test.yml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,16 @@ jobs:
3838
# https://carlosbecker.com/posts/github-actions-disk-space.
3939
- name: "cleanup"
4040
run: |
41-
sudo rm -rf /usr/share/dotnet /usr/local/lib/android /opt/ghc /opt/hostedtoolcache/CodeQL
41+
df -h
42+
43+
time du -sh /usr/share/dotnet
44+
# time du -sh /usr/local/lib/android
45+
time du -sh /opt/hostedtoolcache/CodeQL
46+
47+
time sudo rm -rf /usr/share/dotnet
48+
# time sudo rm -rf /usr/local/lib/android
49+
time sudo rm -rf /opt/hostedtoolcache/CodeQL
50+
4251
sudo docker image prune --all --force
4352
sudo docker builder prune -a
4453
- uses: actions/checkout@v5

0 commit comments

Comments
 (0)