mirror of
https://github.com/Kir-Antipov/mc-publish.git
synced 2024-11-25 01:41:05 -05:00
Logger should use friendly names of the platforms
This commit is contained in:
parent
cf1e5a95bb
commit
9cf54a3e8c
1 changed files with 1 additions and 1 deletions
|
@ -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.");
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue