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