fix: Add rustup default stable before build
Some checks failed
BotServer CI / build (push) Has been cancelled

- Fixes 'rustup could not choose a version of cargo' error
- Sets stable toolchain as default before cargo build
- Preserves sccache configuration and workspace cache
This commit is contained in:
Rodrigo Rodriguez (Pragmatismo) 2026-04-28 16:19:22 -03:00
parent a41e8973a5
commit d9be5e3e51

View file

@ -33,6 +33,7 @@ jobs:
- name: Build BotServer and BotUI
run: |
cd /opt/gbo/work/generalbots
rustup default stable
export RUSTC_WRAPPER=sccache
echo "=== sccache stats before build ==="
sccache --show-stats 2>/dev/null || echo "sccache not available"