Skip to content

Commit faa7a01

Browse files
authored
feat: allow passing pod_install_directory during ios_build job (react-native-community#136)
1 parent 31b2cb0 commit faa7a01

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

src/jobs/ios_build.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,10 @@ parameters:
2020
description: If we should start the Metro packager in the background for this job.
2121
type: boolean
2222
default: false
23+
pod_install_directory:
24+
type: string
25+
default: ""
26+
description: The location of the "ios" directory for `pod install`. Will skip `pod install` if missing.
2327
yarn_cache:
2428
description: Should we cache after yarn install? Defaults to true
2529
type: boolean
@@ -101,6 +105,11 @@ steps:
101105
condition: <<parameters.start_metro>>
102106
steps:
103107
- metro_start
108+
- when:
109+
condition: <<parameters.pod_install_directory>>
110+
steps:
111+
- pod_install:
112+
pod_install_directory: <<parameters.pod_install_directory>>
104113
- ios_build:
105114
project_path: <<parameters.project_path>>
106115
derived_data_path: <<parameters.derived_data_path>>

0 commit comments

Comments
 (0)