Skip to content

Commit a13e3c8

Browse files
committed
refine disk clean up step.
1 parent aa46e97 commit a13e3c8

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.github/workflows/pr-build.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -69,11 +69,10 @@ jobs:
6969

7070
# Cleanup directories before proceeding with setup
7171
- name: Clean up old installations
72+
if: ${{ matrix.os != 'windows-latest' }}
7273
run: |
74+
sudo rm -rf /usr/local/lib/android
7375
sudo rm -rf /usr/share/dotnet
74-
sudo rm -rf /opt/ghc
75-
sudo rm -rf "/usr/local/share/boost"
76-
sudo rm -rf "$AGENT_TOOLSDIRECTORY"
7776
7877
# Check disk usage after cleanup
7978
- name: Check disk usage after cleanup

0 commit comments

Comments
 (0)