ios-ci: fix stale git lock file crash on self-hosted runner (#4120)

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: louwers <649392+louwers@users.noreply.github.com>
This commit is contained in:
Copilot
2026-02-23 23:04:26 +01:00
committed by GitHub
parent 4fa52298e5
commit 7f7f439f34

View File

@@ -59,9 +59,17 @@ jobs:
steps:
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v4
with:
submodules: recursive
submodules: false
persist-credentials: false
- name: Remove stale git lock files
run: find .git -type f -name "*.lock" -delete 2>/dev/null || true
working-directory: .
- name: Update submodules
run: git submodule update --init --recursive
working-directory: .
- name: Cache Bazel
uses: actions/cache@8b402f58fbc84540c8b491a91e594a4576fec3d7 # v5.0.2
with: