From 9cf54a3e8cb4aa6788e8492975d870484099fc20 Mon Sep 17 00:00:00 2001 From: Kir_Antipov Date: Sat, 20 May 2023 15:50:41 +0300 Subject: [PATCH] Logger should use friendly names of the platforms --- src/program.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/program.ts b/src/program.ts index 9d70876..ea6be83 100644 --- a/src/program.ts +++ b/src/program.ts @@ -80,7 +80,7 @@ async function publish(action: Action, githubContext: GitHubContext, logger: Log } if (processedPlatforms.length) { - logger.info(`🎉 Successfully published the assets to ${processedPlatforms.join(", ")}`); + logger.info(`🎉 Successfully published the assets to ${processedPlatforms.map(p => PlatformType.friendlyNameOf(p)).join(", ")}`); } else if (!errors.hasErrors) { logger.warn("⚠️ No valid platform tokens found in your config. To publish your project, please add the required access tokens for the desired platforms. Assets will not be published without them. Refer to the documentation for assistance in setting up your tokens."); }