From 09843a009457615f1d843307dc600f8746d7504e Mon Sep 17 00:00:00 2001 From: Nicola Corti Date: Thu, 24 Nov 2022 10:21:57 -0800 Subject: [PATCH] Store RN Tester and Template APKs for Android on CI (#35463) Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/35463 This will allow us to easily retrieve debug/release APK for both RN-Tester and the Template jobs for every run of the CI. Changelog: [Internal] [Changed] - Store RN Tester and Template APKs for Android on CI Reviewed By: cipolleschi Differential Revision: D41521977 fbshipit-source-id: e2ed60921fd005425d3915323b18dde2851e7fc2 --- .circleci/config.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index af5c36dd4eb..dbc543068e2 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -723,6 +723,10 @@ jobs: - report_bundle_size: platform: android + - store_artifacts: + path: ~/react-native/packages/rn-tester/android/app/build/outputs/apk/ + destination: rntester-apk + # Optionally, run disabled tests - when: condition: << parameters.run_disabled_tests >> @@ -782,6 +786,10 @@ jobs: fi ./gradlew assemble<< parameters.flavor >> -PREACT_NATIVE_MAVEN_LOCAL_REPO=/root/react-native/maven-local + - store_artifacts: + path: /tmp/$PROJECT_NAME/android/app/build/outputs/apk/ + destination: template-apk + # ------------------------- # JOBS: Test iOS Template # -------------------------