fix(ci): patch Cargo.toml to exclude missing workspace members

This commit is contained in:
Rodrigo Rodriguez (Pragmatismo) 2026-01-25 14:18:24 -03:00
parent 222b9a8e6c
commit 9aec2675d6

View file

@ -29,6 +29,11 @@ jobs:
git clone --depth 1 https://alm.pragmatismo.com.br/GeneralBots/gb.git workspace
cd workspace
git submodule update --init --depth 1 botlib
# Remove missing members from workspace to prevent Cargo errors
sed -i '/"botapp",/d' Cargo.toml
sed -i '/"botdevice",/d' Cargo.toml
sed -i '/"bottest",/d' Cargo.toml
sed -i '/"botui",/d' Cargo.toml
cd ..
rm -rf workspace/botserver
mv botserver workspace/botserver