mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-23 11:57:46 +08:00
Remove pull request check on npm deploys (#19856)
Summary: The publish script will fail on forked PRs anyway as the $CIRCLE_NPM_TOKEN envvar will be missing or incorrect. We also move buck fetches to their own own shell script. These are shared by the Android and Deploy jobs, and using -ex will allow us to see which specific command failed without the need to list all steps in the config file. Finally, cache keys are updated as architecture is only relevant in caches that may be reused across macOS and linux, which is not the case for Android. Pull Request resolved: https://github.com/facebook/react-native/pull/19856 Differential Revision: D8956879 Pulled By: hramos fbshipit-source-id: cfc360b9c603497fee53433471537bdc15a0a1c8
This commit is contained in:
committed by
Facebook Github Bot
parent
6bf9024107
commit
6da5779eb7
9
scripts/circleci/buck_fetch.sh
Executable file
9
scripts/circleci/buck_fetch.sh
Executable file
@@ -0,0 +1,9 @@
|
||||
#!/bin/bash
|
||||
|
||||
set -ex
|
||||
|
||||
buck fetch ReactAndroid/src/test/java/com/facebook/react/modules
|
||||
buck fetch ReactAndroid/src/main/java/com/facebook/react
|
||||
buck fetch ReactAndroid/src/main/java/com/facebook/react/shell
|
||||
buck fetch ReactAndroid/src/test/...
|
||||
buck fetch ReactAndroid/src/androidTest/...
|
||||
Reference in New Issue
Block a user