Skip to content

Commit

Permalink
feat: allow passing pod_install_directory during ios_build job (react…
Browse files Browse the repository at this point in the history
  • Loading branch information
devnev committed Feb 14, 2022
1 parent 31b2cb0 commit faa7a01
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/jobs/ios_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@ parameters:
description: If we should start the Metro packager in the background for this job.
type: boolean
default: false
pod_install_directory:
type: string
default: ""
description: The location of the "ios" directory for `pod install`. Will skip `pod install` if missing.
yarn_cache:
description: Should we cache after yarn install? Defaults to true
type: boolean
Expand Down Expand Up @@ -101,6 +105,11 @@ steps:
condition: <<parameters.start_metro>>
steps:
- metro_start
- when:
condition: <<parameters.pod_install_directory>>
steps:
- pod_install:
pod_install_directory: <<parameters.pod_install_directory>>
- ios_build:
project_path: <<parameters.project_path>>
derived_data_path: <<parameters.derived_data_path>>
Expand Down

0 comments on commit faa7a01

Please sign in to comment.