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
This commit is contained in:
Nicola Corti
2022-11-24 10:21:57 -08:00
committed by Facebook GitHub Bot
parent 0c6a4f8c59
commit 09843a0094
+8
View File
@@ -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
# -------------------------