mirror of
https://github.com/movie-web/native-app.git
synced 2025-09-13 18:13:25 +00:00
feat: proper pod cache keys
This commit is contained in:
6
.github/workflows/build-mobile.yml
vendored
6
.github/workflows/build-mobile.yml
vendored
@@ -92,15 +92,11 @@ jobs:
|
||||
- name: Install dependencies
|
||||
run: pnpm install
|
||||
|
||||
- name: Generate Podfile.lock hash
|
||||
id: podfile_hash
|
||||
run: echo "PODFILE_HASH=$(shasum apps/expo/ios/Podfile.lock | awk '{ print $1 }')" >> $GITHUB_ENV
|
||||
|
||||
- name: Cache Pods
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
path: apps/expo/ios/Pods
|
||||
key: ${{ runner.os }}-pods-${{ env.PODFILE_HASH }}
|
||||
key: ${{ runner.os }}-pods-${{ hashFiles('apps/expo/pnpm-lock.yaml') }}
|
||||
restore-keys: |
|
||||
${{ runner.os }}-pods-
|
||||
|
||||
|
Reference in New Issue
Block a user