Skip to content

Commit 247b0bf

Browse files
authored
Fix iOS build cache reuse (#300)
1 parent 36aa0f7 commit 247b0bf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/build-ios.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ jobs:
5252
example/ios/Pods
5353
~/Library/Caches/CocoaPods
5454
~/.cocoapods
55-
key: build-ios-pods-${{ hashFiles('example/ios/Podfile.lock') }}
55+
key: build-ios-pods-${{ hashFiles('example/node_modules/react-native/package.json') }}
5656
restore-keys: build-ios-pods-
5757

5858
- name: Install Pods
@@ -69,7 +69,7 @@ jobs:
6969
uses: actions/cache@v4
7070
with:
7171
path: ~/Library/Developer/Xcode/DerivedData
72-
key: build-ios-derived-data-${{ hashFiles('example/ios/Podfile.lock') }}
72+
key: build-ios-derived-data-${{ hashFiles('example/node_modules/react-native/package.json') }}
7373
restore-keys: build-ios-derived-data-
7474

7575
- name: Build app

0 commit comments

Comments
 (0)