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:
10
.github/workflows/ios-ci.yml
vendored
10
.github/workflows/ios-ci.yml
vendored
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user