Save cache early

This commit is contained in:
Diego Mello 2023-01-26 15:36:40 -03:00
parent 38df3641be
commit f4f7d2c9eb
1 changed files with 2 additions and 2 deletions

View File

@ -476,6 +476,8 @@ jobs:
- restore_cache: *restore-npm-cache-mac - restore_cache: *restore-npm-cache-mac
- run: *install-npm-modules - run: *install-npm-modules
- run: *update-fastlane-ios - run: *update-fastlane-ios
- save_cache: *save-npm-cache-mac
- save_cache: *save-gems-cache
- manage-pods - manage-pods
- run: - run:
name: Configure Detox name: Configure Detox
@ -489,8 +491,6 @@ jobs:
/usr/libexec/PlistBuddy -c "Set :bugsnag:apiKey $BUGSNAG_KEY" ./ios/ShareRocketChatRN/Info.plist /usr/libexec/PlistBuddy -c "Set :bugsnag:apiKey $BUGSNAG_KEY" ./ios/ShareRocketChatRN/Info.plist
yarn detox build --configuration ios.sim.release yarn detox build --configuration ios.sim.release
yarn detox test --configuration ios.sim.release --cleanup --headless yarn detox test --configuration ios.sim.release --cleanup --headless
- save_cache: *save-npm-cache-mac
- save_cache: *save-gems-cache
ios-build-official: ios-build-official:
executor: mac-env executor: mac-env