From 07d6a9eb050030ec3f87171f5ed855166c87ae1a Mon Sep 17 00:00:00 2001 From: Tyler Mayoff Date: Mon, 7 Jul 2025 21:16:37 -0400 Subject: [PATCH] parallelize cleanup --- .github/actions/disk_space/clean.sh | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/actions/disk_space/clean.sh b/.github/actions/disk_space/clean.sh index fb89420..6bc2564 100755 --- a/.github/actions/disk_space/clean.sh +++ b/.github/actions/disk_space/clean.sh @@ -26,6 +26,13 @@ paths=( /etc/skel/.rustup ) -sudo rm -rf "${paths[@]}" +mkdir /empty + +for p in "${paths[@]}" +do + sudo rsync "$p" & +done + +wait exit 0