diff --git a/.forgejo/workflows/botserver.yaml b/.forgejo/workflows/botserver.yaml index 5de3683d..a0796361 100644 --- a/.forgejo/workflows/botserver.yaml +++ b/.forgejo/workflows/botserver.yaml @@ -37,15 +37,15 @@ jobs: # Simple pull to get latest changes git -C gb-ws pull origin main - # Initialize/update all workspace member submodules - cd gb-ws - git submodule sync - git submodule update --init --depth 1 botlib botserver botapp botdevice bottest botui - - # Force submodule update to match parent repo - git submodule foreach "git fetch origin main && git checkout origin/main || git checkout main || true" + # Initialize/update all workspace member submodules + cd gb-ws + git submodule sync + git submodule update --init --depth 1 botlib botserver botapp botdevice bottest botui - mkdir -p /home/gbuser/target + # Force submodule update to match parent repo + git submodule foreach "git fetch origin main && git checkout origin/main || git checkout main || true" + + mkdir -p /home/gbuser/target - name: Cache sccache uses: actions/cache@v4