Skip to content

Commit 1b359ee

Browse files
committed
fixed artifacts not found in release-testing script
1 parent 92b33c9 commit 1b359ee

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

scripts/release-testing/utils/github-actions-utils.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ async function artifactURLForRNTesterAPK(
210210
}
211211

212212
async function artifactURLForHermesRNTesterApp() /*: Promise<string> */ {
213-
return getArtifactURL('RNTesterApp-NewArch-Hermes-Debug');
213+
return getArtifactURL('RNTesterApp-NewArch-Debug');
214214
}
215215

216216
async function artifactURLForMavenLocal() /*: Promise<string> */ {
@@ -223,7 +223,9 @@ async function getArtifactURL(
223223
const filteredUrls = artifacts.artifacts.filter(a => a.name === artifactName);
224224

225225
if (filteredUrls.length === 0) {
226-
console.error(`No artifact found with name ${artifactName}`);
226+
console.error(`
227+
No artifact found with name ${artifactName}.\n\nAvailiable artifacts: ${artifacts.artifacts.map(a => a.name).join(' ')}
228+
`);
227229
process.exit(1);
228230
}
229231
return filteredUrls[0].archive_download_url;

0 commit comments

Comments
 (0)