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 - name: Cache Bazel
uses: actions/cache@668228422ae6a00e4ad889ee87cd7109ec5666a7 # v5.0.4 uses: actions/cache@668228422ae6a00e4ad889ee87cd7109ec5666a7 # v5.0.4
with: 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: | restore-keys: |
${{ runner.os }}-bazel- ${{ runner.os }}-ios-bazel-
path: ~/.cache/bazel path: |
/var/tmp/_bazel_runner
~/Library/Caches/bazel
# render test # render test
@@ -231,6 +233,10 @@ jobs:
run: | run: |
HOSTING_BASE_PATH="maplibre-native/ios/latest" platform/ios/scripts/docc.sh 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: ios-build-cmake:
needs: pre_job needs: pre_job
runs-on: macos-14 runs-on: macos-14