fix: Add rustup default stable before build
Some checks failed
BotServer CI / build (push) Has been cancelled
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:
parent
a41e8973a5
commit
d9be5e3e51
1 changed files with 1 additions and 0 deletions
|
|
@ -33,6 +33,7 @@ jobs:
|
||||||
- name: Build BotServer and BotUI
|
- name: Build BotServer and BotUI
|
||||||
run: |
|
run: |
|
||||||
cd /opt/gbo/work/generalbots
|
cd /opt/gbo/work/generalbots
|
||||||
|
rustup default stable
|
||||||
export RUSTC_WRAPPER=sccache
|
export RUSTC_WRAPPER=sccache
|
||||||
echo "=== sccache stats before build ==="
|
echo "=== sccache stats before build ==="
|
||||||
sccache --show-stats 2>/dev/null || echo "sccache not available"
|
sccache --show-stats 2>/dev/null || echo "sccache not available"
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue