From 27bd6c922752497d7ac34a45ca3e75a00f676d0e Mon Sep 17 00:00:00 2001 From: Riccardo Cipolleschi Date: Tue, 10 Sep 2024 04:41:07 -0700 Subject: [PATCH] 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 --- scripts/release-testing/utils/github-actions-utils.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/release-testing/utils/github-actions-utils.js b/scripts/release-testing/utils/github-actions-utils.js index 2089acb337c..99498af8cc8 100644 --- a/scripts/release-testing/utils/github-actions-utils.js +++ b/scripts/release-testing/utils/github-actions-utils.js @@ -161,13 +161,13 @@ function downloadArtifact( async function artifactURLForJSCRNTesterAPK( emulatorArch /*: string */, ) /*: Promise */ { - return getArtifactURL('rntester-jsc-release'); + return getArtifactURL('rntester-jsc-debug'); } async function artifactURLForHermesRNTesterAPK( emulatorArch /*: string */, ) /*: Promise */ { - return getArtifactURL('rntester-hermes-release'); + return getArtifactURL('rntester-hermes-debug'); } async function artifactURLForMavenLocal() /*: Promise */ {