From b38400ffd21e8865a0f1b5ab24d04623665d4afb Mon Sep 17 00:00:00 2001 From: Tomek Zawadzki Date: Fri, 12 Apr 2024 12:28:16 +0200 Subject: [PATCH] Fix iOS build cache reuse --- .github/workflows/build-ios.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-ios.yml b/.github/workflows/build-ios.yml index 4432388b..22f4a278 100644 --- a/.github/workflows/build-ios.yml +++ b/.github/workflows/build-ios.yml @@ -52,7 +52,7 @@ jobs: example/ios/Pods ~/Library/Caches/CocoaPods ~/.cocoapods - key: build-ios-pods-${{ hashFiles('example/ios/Podfile.lock') }} + key: build-ios-pods-${{ hashFiles('example/node_modules/react-native/package.json') }} restore-keys: build-ios-pods- - name: Install Pods @@ -69,7 +69,7 @@ jobs: uses: actions/cache@v4 with: path: ~/Library/Developer/Xcode/DerivedData - key: build-ios-derived-data-${{ hashFiles('example/ios/Podfile.lock') }} + key: build-ios-derived-data-${{ hashFiles('example/node_modules/react-native/package.json') }} restore-keys: build-ios-derived-data- - name: Build app