chore: Fix GitHub Action CocoaPods cache misses (#2491)

* chore: Fix GitHub Action CocoaPods cache misses

* Only use Pods directory
This commit is contained in:
Marc Rousavy 2024-01-31 20:48:05 +01:00 committed by GitHub
parent ae75e22fc0
commit ea568855a7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -54,12 +54,9 @@ jobs:
working-directory: package/example/ios working-directory: package/example/ios
- name: Restore Pods cache - name: Restore Pods cache
uses: actions/cache@v4 uses: actions/cache@v3
with: with:
path: | path: package/example/ios/Pods
package/example/ios/Pods
~/Library/Caches/CocoaPods
~/.cocoapods
key: ${{ runner.os }}-pods-${{ hashFiles('**/Podfile.lock') }} key: ${{ runner.os }}-pods-${{ hashFiles('**/Podfile.lock') }}
restore-keys: | restore-keys: |
${{ runner.os }}-pods- ${{ runner.os }}-pods-
@ -116,12 +113,9 @@ jobs:
working-directory: package/example/ios working-directory: package/example/ios
- name: Restore Pods cache - name: Restore Pods cache
uses: actions/cache@v4 uses: actions/cache@v3
with: with:
path: | path: package/example/ios/Pods
package/example/ios/Pods
~/Library/Caches/CocoaPods
~/.cocoapods
key: ${{ runner.os }}-pods-${{ hashFiles('**/Podfile.lock') }} key: ${{ runner.os }}-pods-${{ hashFiles('**/Podfile.lock') }}
restore-keys: | restore-keys: |
${{ runner.os }}-pods- ${{ runner.os }}-pods-