From 67d059e823cc90699e0799a0723f25875f7efa95 Mon Sep 17 00:00:00 2001 From: Gautam Krishna R Date: Sun, 8 Sep 2024 10:21:33 +0530 Subject: [PATCH] test summary --- dist/blog-post-workflow.js | 2 +- src/blog-post-workflow.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/dist/blog-post-workflow.js b/dist/blog-post-workflow.js index 7ce53be..c409fb8 100644 --- a/dist/blog-post-workflow.js +++ b/dist/blog-post-workflow.js @@ -13979,7 +13979,7 @@ var runWorkflow = async () => { core.summary.addRaw(` #### Posts written to readme: ${postsArray.length}`, true); core.summary.addSeparator(); - core.summary.addDetails("Debug Info", "Some juicy info for devs: \n\n```json\n" + JSON.stringify(postsArray, null, 2) + "\n```\n\n"); + core.summary.addDetails("Debug: Some juicy :beer: info for advanced users", "\n```json\n" + JSON.stringify(postsArray, null, 2) + "\n```\n\n"); await core.summary.write(); process.exit(jobFailFlag ? 1 : 0); } diff --git a/src/blog-post-workflow.js b/src/blog-post-workflow.js index 6b12719..940ee83 100644 --- a/src/blog-post-workflow.js +++ b/src/blog-post-workflow.js @@ -388,8 +388,8 @@ const runWorkflow = async () => { core.summary.addRaw(`Blog posts fetched:`, true); core.summary.addTable(summaryTable); core.summary.addRaw(`\n#### Posts written to readme: ${postsArray.length}`, true); - core.summary.addSeparator() - core.summary.addDetails('Debug Info', 'Some juicy info for devs: \n\n```json\n' + JSON.stringify(postsArray, null, 2) + '\n```\n\n'); + core.summary.addSeparator(); + core.summary.addDetails('Debug: Some juicy :beer: info for advanced users', '\n```json\n' + JSON.stringify(postsArray, null, 2) + '\n```\n\n'); await core.summary.write(); process.exit(jobFailFlag ? 1 : 0); }