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 коммит произвёл Facebook GitHub Bot
Родитель 0c6a4f8c59
Коммит 09843a0094
1 изменённых файлов: 8 добавлений и 0 удалений

Просмотреть файл

@ -723,6 +723,10 @@ jobs:
- report_bundle_size: - report_bundle_size:
platform: android platform: android
- store_artifacts:
path: ~/react-native/packages/rn-tester/android/app/build/outputs/apk/
destination: rntester-apk
# Optionally, run disabled tests # Optionally, run disabled tests
- when: - when:
condition: << parameters.run_disabled_tests >> condition: << parameters.run_disabled_tests >>
@ -782,6 +786,10 @@ jobs:
fi fi
./gradlew assemble<< parameters.flavor >> -PREACT_NATIVE_MAVEN_LOCAL_REPO=/root/react-native/maven-local ./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 # JOBS: Test iOS Template
# ------------------------- # -------------------------