Skip to content

Commit f18183f

Browse files
authored
feat: add pod_cache param to ios_build job (react-native-community#140)
1 parent 0d312d4 commit f18183f

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/jobs/ios_build.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,10 @@ parameters:
2222
type: string
2323
default: ""
2424
description: The location of the "ios" directory for `pod install`. Will skip `pod install` if missing.
25+
pod_cache:
26+
description: Save and restore the CocoaPods cache? Defaults to true
27+
type: boolean
28+
default: true
2529
yarn_cache:
2630
description: Should we cache after yarn install? Defaults to true
2731
type: boolean
@@ -121,6 +125,7 @@ steps:
121125
steps:
122126
- pod_install:
123127
pod_install_directory: <<parameters.pod_install_directory>>
128+
cache: <<parameters.pod_cache>>
124129
- ios_build:
125130
project_path: <<parameters.project_path>>
126131
derived_data_path: <<parameters.derived_data_path>>

0 commit comments

Comments
 (0)