Use Debug APK for release testing (#46413)

Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/46413

When testing RNTester for Android during a release, we downloads the APKs from CI to save time.

Sadly, we were downloading the Release APKs instead of the Debug ones, so we could not test te integration with Metro.

This change fixes the testing scripts to download the debug APK

## Changelog
[Internal] - Download the debug APK instead of the Release one

Reviewed By: cortinico

Differential Revision: D62436023

fbshipit-source-id: 08a568caf3e5c85b9da933bc01623587bd36affe
This commit is contained in:
Riccardo Cipolleschi 2024-09-10 04:41:07 -07:00 committed by Facebook GitHub Bot
parent 8dabed60f4
commit 27bd6c9227

View File

@ -161,13 +161,13 @@ function downloadArtifact(
async function artifactURLForJSCRNTesterAPK(
emulatorArch /*: string */,
) /*: Promise<string> */ {
return getArtifactURL('rntester-jsc-release');
return getArtifactURL('rntester-jsc-debug');
}
async function artifactURLForHermesRNTesterAPK(
emulatorArch /*: string */,
) /*: Promise<string> */ {
return getArtifactURL('rntester-hermes-release');
return getArtifactURL('rntester-hermes-debug');
}
async function artifactURLForMavenLocal() /*: Promise<string> */ {