diff --git a/.forgejo/workflows/botserver.yaml b/.forgejo/workflows/botserver.yaml index 39424d27..4017a62f 100644 --- a/.forgejo/workflows/botserver.yaml +++ b/.forgejo/workflows/botserver.yaml @@ -28,14 +28,6 @@ jobs: run: | mkdir -p $WORKSPACE cd $WORKSPACE - # Clean existing workspace to avoid conflicts - rm -rf /opt/gbo/data/botserver - # Update or clone botlib (preserve git history for sccache fingerprints) - if [ -d botlib/.git ]; then - git -C botlib pull origin main - else - git clone --branch main https://alm.pragmatismo.com.br/GeneralBots/botlib.git botlib - fi # Update or clone botserver (preserve git history for sccache fingerprints) if [ -d botserver/.git ]; then git -C botserver pull origin main @@ -52,6 +44,8 @@ jobs: for m in botapp botdevice bottest botui botbook botmodels botplugin bottemplates; do grep -v "\"$m\"" Cargo.toml > /tmp/c.toml && mv /tmp/c.toml Cargo.toml done + # Clean existing workspace to avoid conflicts + rm -rf /opt/gbo/data/botserver # Ensure target dir exists mkdir -p target