Skip to content

Commit

Permalink
ci: attempt to get more free space
Browse files Browse the repository at this point in the history
  • Loading branch information
ZdenekM committed Mar 7, 2023
1 parent 3b0be36 commit 899c6b7
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/pants.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,19 @@ jobs:
sudo rm -rf /usr/share/dotnet
sudo rm -rf /usr/local/lib/android
sudo rm -rf /opt/ghc
sudo rm -rf "/usr/local/share/boost"
sudo apt-get remove -y '^dotnet-.*'
sudo apt-get remove -y '^llvm-.*'
sudo apt-get remove -y 'php.*'
sudo apt-get remove -y '^mongodb-.*'
sudo apt-get remove -y '^mysql-.*'
sudo apt-get remove -y azure-cli google-cloud-sdk google-chrome-stable firefox powershell mono-devel libgl1-mesa-dri
sudo apt-get autoremove -y
sudo apt-get clean
sudo rm -rf "$AGENT_TOOLSDIRECTORY"
sudo swapoff -a
sudo rm -f /mnt/swapfile
free -h
echo
echo "=== After pruning ==="
df -h
Expand Down

0 comments on commit 899c6b7

Please sign in to comment.