Skip to content

Commit b156c1b

Browse files
authored
feat: pass through pod cache param from job to command (react-native-community#138)
1 parent 9df99d7 commit b156c1b

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/jobs/ios_build_and_test.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,10 @@ parameters:
2424
type: string
2525
default: ""
2626
description: The location of the "ios" directory for `pod install`. Will skip `pod install` if missing.
27+
pod_cache:
28+
description: Save and restore the CocoaPods cache? Defaults to true
29+
type: boolean
30+
default: true
2731
yarn_cache:
2832
description: Should we cache after yarn install? Defaults to true
2933
type: boolean
@@ -126,6 +130,7 @@ steps:
126130
steps:
127131
- pod_install:
128132
pod_install_directory: <<parameters.pod_install_directory>>
133+
cache: <<parameters.pod_cache>>
129134
- ios_build:
130135
project_path: <<parameters.project_path>>
131136
derived_data_path: <<parameters.derived_data_path>>

0 commit comments

Comments
 (0)