Fix iOS Bazel cache path (#4384)

This commit is contained in:
Bart Louwers
2026-07-08 10:19:14 +02:00
committed by GitHub
parent 516e01baa3
commit b3052f9fce

View File

@@ -83,10 +83,12 @@ jobs:
- name: Cache Bazel
uses: actions/cache@668228422ae6a00e4ad889ee87cd7109ec5666a7 # v5.0.4
with:
key: ${{ runner.os }}-bazel-${{ hashFiles('.bazelversion', '.bazelrc', 'WORKSPACE', 'WORKSPACE.bazel', 'MODULE.bazel') }}
key: ${{ runner.os }}-ios-bazel-${{ hashFiles('.bazelversion', '.bazelrc', 'WORKSPACE', 'WORKSPACE.bazel', 'MODULE.bazel') }}
restore-keys: |
${{ runner.os }}-bazel-
path: ~/.cache/bazel
${{ runner.os }}-ios-bazel-
path: |
/var/tmp/_bazel_runner
~/Library/Caches/bazel
# render test
@@ -231,6 +233,10 @@ jobs:
run: |
HOSTING_BASE_PATH="maplibre-native/ios/latest" platform/ios/scripts/docc.sh
- name: Shut down Bazel
if: always()
run: command -v bazel >/dev/null && bazel shutdown || true
ios-build-cmake:
needs: pre_job
runs-on: macos-14