File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -368,17 +368,19 @@ jobs:
368368 const publishedExports = core.getMultilineInput('published_exports');
369369 const failedExports = core.getMultilineInput('failed_exports');
370370 if (publishedExports.length + failedExports.length > 0) {
371- body += '\n\n#### Publishing process\n';
372- if (publishedExports.length > 0) {
373- body = `${body}\n- Published container images:`;
374- publishedExports.forEach(line => {
375- body = `${body}\n - ${line}`;
376- });
377- }
378371 if (failedExports.length > 0) {
379- body = `${body}\n- Plugins failed during export or container image publishing:`;
372+ body += '\n\n#### Publishing process\n';
373+ body += `❌ Plugins with errors during export or container image publishing:`;
380374 failedExports.forEach(line => {
381- body = `${body}\n - ${line}`;
375+ body += `\n - ${line}`;
376+ });
377+ } else {
378+ body += '\n\n#### Publishing process\n✅ Finished successfully.';
379+ }
380+ if (publishedExports.length > 0) {
381+ body += `\n- Published container images:`;
382+ publishedExports.forEach(line => {
383+ body += `\n - ${line}`;
382384 });
383385 }
384386 }
You can’t perform that action at this time.
0 commit comments