fix: Clone botserver to temp dir then replace submodule to avoid workspace conflict
Some checks failed
BotServer CI / build (push) Failing after 11m40s

This commit is contained in:
Rodrigo Rodriguez (Pragmatismo) 2026-03-20 19:15:03 -03:00
parent 6e54799973
commit cac045d98a

View file

@ -23,7 +23,8 @@ jobs:
git clone --depth 1 --branch main https://alm.pragmatismo.com.br/GeneralBots/gb.git workspace
cd workspace
git submodule update --init --depth 1 botlib
git clone --depth 1 --branch main https://alm.pragmatismo.com.br/GeneralBots/BotServer.git botserver
git clone --depth 1 --branch main https://alm.pragmatismo.com.br/GeneralBots/BotServer.git botserver-ci
rm -rf botserver && mv botserver-ci botserver
sed -i '/"botapp",/d' Cargo.toml
sed -i '/"botdevice",/d' Cargo.toml
sed -i '/"bottest",/d' Cargo.toml