diff --git a/docs/bitrise-build-cache/build-cache-for-react-native/configuring-the-build-cache-for-react-native-in-non-bitrise-ci-environments.mdx b/docs/bitrise-build-cache/build-cache-for-react-native/configuring-the-build-cache-for-react-native-in-non-bitrise-ci-environments.mdx index e64807af..28f95975 100644 --- a/docs/bitrise-build-cache/build-cache-for-react-native/configuring-the-build-cache-for-react-native-in-non-bitrise-ci-environments.mdx +++ b/docs/bitrise-build-cache/build-cache-for-react-native/configuring-the-build-cache-for-react-native-in-non-bitrise-ci-environments.mdx @@ -34,6 +34,12 @@ The Bitrise Build Cache CLI can be downloaded and run on any third-party CI prov /tmp/bin/bitrise-build-cache activate react-native --gradle=true --xcode=true --cpp=false ``` + CI is normally the environment that fills the cache. Pass `--cache-push` to activate write access alongside reads: + + ``` + /tmp/bin/bitrise-build-cache activate react-native --cache-push + ``` + :::note If you have previously used the Bitrise Build Cache CLI for Gradle or Xcode only, make sure you are on **CLI v1.0.0 or later** to get React Native support. @@ -63,7 +69,7 @@ jobs: curl --retry 5 -sSfL \ 'https://raw.githubusercontent.com/bitrise-io/bitrise-build-cache-cli/main/install/installer.sh' \ | sh -s -- -b /tmp/bin -d - /tmp/bin/bitrise-build-cache activate react-native + /tmp/bin/bitrise-build-cache activate react-native --cache-push - name: Install JS dependencies run: yarn install - name: Build iOS