Fix CI: force submodule update with proper YAML indentation
All checks were successful
BotServer CI/CD / build (push) Successful in 5m56s
All checks were successful
BotServer CI/CD / build (push) Successful in 5m56s
This commit is contained in:
parent
464d9f88ba
commit
54c317dbbc
1 changed files with 8 additions and 8 deletions
|
|
@ -37,15 +37,15 @@ jobs:
|
||||||
# Simple pull to get latest changes
|
# Simple pull to get latest changes
|
||||||
git -C gb-ws pull origin main
|
git -C gb-ws pull origin main
|
||||||
|
|
||||||
# Initialize/update all workspace member submodules
|
# Initialize/update all workspace member submodules
|
||||||
cd gb-ws
|
cd gb-ws
|
||||||
git submodule sync
|
git submodule sync
|
||||||
git submodule update --init --depth 1 botlib botserver botapp botdevice bottest botui
|
git submodule update --init --depth 1 botlib botserver botapp botdevice bottest botui
|
||||||
|
|
||||||
# Force submodule update to match parent repo
|
# Force submodule update to match parent repo
|
||||||
git submodule foreach "git fetch origin main && git checkout origin/main || git checkout main || true"
|
git submodule foreach "git fetch origin main && git checkout origin/main || git checkout main || true"
|
||||||
|
|
||||||
mkdir -p /home/gbuser/target
|
mkdir -p /home/gbuser/target
|
||||||
|
|
||||||
- name: Cache sccache
|
- name: Cache sccache
|
||||||
uses: actions/cache@v4
|
uses: actions/cache@v4
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue