Skip to content

Commit

Permalink
Add restore keys
Browse files Browse the repository at this point in the history
  • Loading branch information
tomekzaw committed Apr 10, 2024
1 parent 5385ba0 commit 225ebf6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/build-ios.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ jobs:
node_modules
example/node_modules
key: build-ios-node-modules-${{ hashFiles('yarn.lock') }}
restore-keys: build-ios-node-modules-

- name: Install node_modules
run: yarn install --immutable
Expand All @@ -50,6 +51,7 @@ jobs:
~/Library/Caches/CocoaPods
~/.cocoapods
key: build-ios-pods-${{ hashFiles('example/ios/Podfile.lock') }}
restore-keys: build-ios-pods-

- name: Install Pods
working-directory: example/ios
Expand All @@ -66,6 +68,7 @@ jobs:
with:
path: ~/Library/Developer/Xcode/DerivedData
key: build-ios-derived-data-${{ hashFiles('example/ios/Podfile.lock') }}
restore-keys: build-ios-derived-data-

- name: Build app
working-directory: example
Expand Down

0 comments on commit 225ebf6

Please sign in to comment.