ci: kill stuck cargo before build
All checks were successful
BotServer CI/CD / build (push) Successful in 1m3s

This commit is contained in:
Rodrigo Rodriguez (Pragmatismo) 2026-04-10 08:50:07 -03:00
parent 5e819c4714
commit dc933c22e4

View file

@ -79,6 +79,11 @@ jobs:
working-directory: /opt/gbo/data/botserver
run: |
set -e
# Kill any stuck cargo processes
pkill -9 cargo 2>/dev/null || true
pkill -9 rustc 2>/dev/null || true
rm -f target/.cargo-lock 2>/dev/null || true
export SCCACHE_IDLE_TIMEOUT=300
export SCCACHE_CACHE_SIZE=10G
sccache --stop-server 2>/dev/null || true