ci(packages): correct regex used to look for larger packages

This commit is contained in:
Finagolfin 2023-11-02 17:59:33 +05:30
parent 3cc010e9bb
commit 3592306edd
1 changed files with 1 additions and 1 deletions

View File

@ -177,7 +177,7 @@ jobs:
done
if [ ! -z "$packages" ]; then
if grep -q ' \(clvk\|dart\|libllvm\|rust\|rustc-nightly\|swift\|tinygo\|wasmer\|zig\|firefox\)\( \|$\)' <<< "$packages"; then
if grep -q '\(^\|\s\)\(clvk\|dart\|libllvm\|rust\|rustc-nightly\|swift\|tinygo\|wasmer\|zig\|firefox\)$' <<< "$packages"; then
./scripts/setup-ubuntu.sh
sudo apt install ninja-build
sudo apt purge -yq $(dpkg -l | grep '^ii' | awk '{ print $2 }' | grep -P '(aspnetcore|cabal-|dotnet-|ghc-|libmono|php)') \