From 475794ed76e419f32bed6fbe1e7c38f5eb4daa48 Mon Sep 17 00:00:00 2001 From: Mark Nevill Date: Fri, 4 Feb 2022 10:02:19 +0000 Subject: [PATCH] feat: allow pod install during ios_build job --- src/jobs/ios_build.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/jobs/ios_build.yml b/src/jobs/ios_build.yml index 1dbf06c..13e42f8 100644 --- a/src/jobs/ios_build.yml +++ b/src/jobs/ios_build.yml @@ -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 @@ -101,6 +105,11 @@ steps: condition: <> steps: - metro_start + - when: + condition: <> + steps: + - pod_install: + pod_install_directory: <> - ios_build: project_path: <> derived_data_path: <>