Fix iOS Bazel cache path (#4384)
This commit is contained in:
12
.github/workflows/ios-ci.yml
vendored
12
.github/workflows/ios-ci.yml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user