Skip to content

Commit 6b24e48

Browse files
fix: update CocoaPods cache key to include additional files for better cache management
1 parent 56b9cb3 commit 6b24e48

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

.github/workflows/ios.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,7 @@ jobs:
4141
example/ios/Pods
4242
~/Library/Caches/CocoaPods
4343
~/.cocoapods
44-
key: ${{ runner.os }}-pods-${{ hashFiles('example/ios/Podfile.lock') }}
45-
restore-keys: |
46-
${{ runner.os }}-pods-
44+
key: ${{ runner.os }}-pods-${{ hashFiles('example/ios/Podfile.lock', 'yarn.lock', 'package.json', 'example/package.json') }}
4745

4846
- name: Install CocoaPods
4947
working-directory: example

0 commit comments

Comments
 (0)