ci: fix linux cleanup for spaces (#8531)

I hate spaces.

CHANGELOG_BEGIN
CHANGELOG_END
This commit is contained in:
Gary Verhaegen 2021-01-15 18:01:44 +01:00 committed by GitHub
parent 55b4a3d433
commit 8350224aef
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -44,7 +44,7 @@ steps:
if [ -d "$local_cache" ]; then
if [ $(du -ms "$local_cache" | awk '{print $1}') -gt 80000 ]; then
echo "Deleting '$local_cache'..."
find "$local_cache" -type d | xargs chmod +w
chmod -R +w "$local_cache"
rm -rf "$local_cache"
else
echo "Local cache small enough:\n$(du -hs "$local_cache")"