Skip to content

Commit 57d4fa0

Browse files
authored
fix: Use /usr dir prefix when freeing disk space (#2514)
1 parent 85d8310 commit 57d4fa0

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/pre-merge-rust.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -52,10 +52,10 @@ jobs:
5252
run: |
5353
echo "Disk space before:"
5454
df -h
55-
rm -rf \
56-
/host_usr/share/dotnet /host_usr/local/lib/android /opt/ghc \
57-
/host_usr/local/share/powershell /host_usr/share/swift /host_usr/local/.ghcup \
58-
/host_usr/lib/jvm /opt/hostedtoolcache
55+
sudo rm -rf \
56+
/usr/share/dotnet /usr/local/lib/android /opt/ghc \
57+
/usr/local/share/powershell /usr/share/swift /usr/local/.ghcup \
58+
/usr/lib/jvm /opt/hostedtoolcache
5959
echo "Disk space after:"
6060
df -h
6161

0 commit comments

Comments
 (0)