ci(packages): correct regex used to look for larger packages
This commit is contained in:
parent
3cc010e9bb
commit
3592306edd
|
@ -177,7 +177,7 @@ jobs:
|
||||||
done
|
done
|
||||||
|
|
||||||
if [ ! -z "$packages" ]; then
|
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
|
./scripts/setup-ubuntu.sh
|
||||||
sudo apt install ninja-build
|
sudo apt install ninja-build
|
||||||
sudo apt purge -yq $(dpkg -l | grep '^ii' | awk '{ print $2 }' | grep -P '(aspnetcore|cabal-|dotnet-|ghc-|libmono|php)') \
|
sudo apt purge -yq $(dpkg -l | grep '^ii' | awk '{ print $2 }' | grep -P '(aspnetcore|cabal-|dotnet-|ghc-|libmono|php)') \
|
||||||
|
|
Loading…
Reference in New Issue