Fix Cargo.toml filtering to preserve botserver member
Some checks failed
BotServer CI/CD / build (push) Failing after 1s

This commit is contained in:
Rodrigo Rodriguez (Pragmatismo) 2026-04-17 20:58:27 -03:00
parent 41b502ef9a
commit c697b97943

View file

@ -48,7 +48,8 @@ jobs:
# Setup Cargo.toml
cp ~/workspace/gb-ws/Cargo.toml .
sed -i '/botapp\|botdevice\|bottest\|botui\|botbook\|botmodels\|botplugin\|bottemplates/d' Cargo.toml
# Remove unwanted members but keep botserver and botlib
grep -v '"botapp\|"botdevice\|"bottest\|"botui\|"botbook\|"botmodels\|"botplugin\|"bottemplates"' Cargo.toml > Cargo.toml.tmp && mv Cargo.toml.tmp Cargo.toml
# Build
cargo build -p botserver