ci: Fix `script/clear-target-dir-if-larger-than` post #41652 (#42640) (cherry-pick to preview) (#42660)
zed-zippy[bot]
and
Ben Kunkle
created
Cherry-pick of #42640 to preview
----
Closes #ISSUE
The namespace runners mount the `target` directory to the cache drive,
so `rm -rf target` would fail with `Device Busy`. Instead we now do `rm
-rf target/* target/.*` to remove all files (including hidden files)
from the `target` directory, without removing the target directory
itself
Release Notes:
- N/A *or* Added/Fixed/Improved ...
Co-authored-by: Ben Kunkle <ben@zed.dev>