CI: fix regex pattern in free additional disk space step
This commit is contained in:
parent
7a687b2656
commit
b4a3d50955
2
.github/workflows/packages.yml
vendored
2
.github/workflows/packages.yml
vendored
@ -150,7 +150,7 @@ jobs:
|
||||
|
||||
- name: Free additional disk space (if necessary)
|
||||
run: |
|
||||
if grep -qP '[^rust$|^rustc-nightly$]' ./built_termux-main_packages.txt ; then
|
||||
if grep -q '^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)') \
|
||||
liblldb-6.0 libllvm6.0:amd64 mono-runtime-common monodoc-manual powershell ruby
|
||||
|
Loading…
x
Reference in New Issue
Block a user