Skip to content

Commit

Permalink
Run "rm -rf" in background to save time
Browse files Browse the repository at this point in the history
  • Loading branch information
polyrabbit committed Apr 24, 2024
1 parent ae72fd6 commit b42a94c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/static.yml
Expand Up @@ -43,8 +43,8 @@ jobs:
sudo apt install -y -qq moreutils # https://unix.stackexchange.com/questions/26728/prepending-a-timestamp-to-each-line-of-output-from-a-command
echo -e "free -h:\n`free -h`" | ts
echo
sudo rm -rf /usr/local/lib/android # release about 12 GB, cost 1min
sudo rm -rf /usr/share/dotnet # release about 1 GB, cost 2s
sudo rm -rf /usr/local/lib/android & # release about 12 GB, cost 1min
sudo rm -rf /usr/share/dotnet & # release about 1 GB, cost 2s
echo -e "df -h:\n`df -h`" | ts
echo
echo "pwd: `pwd`" | ts
Expand Down

0 comments on commit b42a94c

Please sign in to comment.