fix(ci): correct YAML indentation causing workflow parse error
Some checks failed
BotServer CI / build (push) Failing after 39s

- Fixed CARGO_INCREMENTAL indent (was 8 spaces, needs 6)
- Quoted PATH value to avoid colon parsing issues
- Broke if/then across lines for readability
This commit is contained in:
Rodrigo Rodriguez (Pragmatismo) 2026-04-29 09:24:27 -03:00
parent 45c5a2b2e5
commit c49a7ef65c

View file

@ -17,15 +17,16 @@ jobs:
env:
RUSTC_WRAPPER: sccache
CARGO_INCREMENTAL: "1"
PATH: /home/gbuser/.cargo/bin:/usr/local/bin:/usr/local/sbin:/usr/bin:/sbin:/bin
PATH: "/home/gbuser/.cargo/bin:/usr/local/bin:/usr/local/sbin:/usr/bin:/sbin:/bin"
steps:
- name: Setup
run: |
cd /opt/gbo/work/generalbots
OLD_REV=$(git rev-parse HEAD)
git pull --rebase || git rebase --abort && git reset --hard origin/main
git pull --rebase || { git rebase --abort; git reset --hard origin/main; }
NEW_REV=$(git rev-parse HEAD)
if [ "$OLD_REV" != "$NEW_REV" ]; then
if [ "$OLD_REV" != "$NEW_REV" ]
then
git diff --name-only -z "$OLD_REV" "$NEW_REV" | xargs -0 touch
fi
git log --oneline -1