scripts(workflows/packages): update list of packages to uninstall

When we need to get extra disk space in CI.

Previous build for auto update of clvk failed.
This commit is contained in:
Henrik Grimler 2022-09-15 21:28:35 +02:00
parent 1b126e9572
commit edf4586feb
No known key found for this signature in database
GPG Key ID: B0076E490B71616B
1 changed files with 2 additions and 2 deletions

View File

@ -156,8 +156,8 @@ jobs:
run: |
if grep -q '^clvk$\|^dart$\|^rust$\|^rustc-nightly$' ./built_termux-main_packages.txt; then
echo "Free additional disk space on host"
sudo apt purge -yq $(dpkg -l | grep '^ii' | awk '{ print $2 }' | grep -P '(cabal-|dotnet-|ghc-|libmono|php)') \
mono-runtime-common monodoc-manual powershell ruby
sudo apt purge -yq $(dpkg -l | grep '^ii' | awk '{ print $2 }' | grep -P '(cabal-|dotnet-|ghc-|libmono|php|aspnetcore)') \
mono-runtime-common monodoc-manual ruby
sudo apt autoremove -yq
sudo rm -rf /opt/hostedtoolcache /usr/local /usr/share/dotnet /usr/share/swift
fi