Skip to content

Commit

Permalink
test summary
Browse files Browse the repository at this point in the history
  • Loading branch information
gautamkrishnar committed Sep 8, 2024
1 parent 0b385dc commit 6d9a3d6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion dist/blog-post-workflow.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 info for advanced users :beers:", "\n\n```json\n" + JSON.stringify(postsArray, null, 2) + "\n```\n\n");
await core.summary.write();
process.exit(jobFailFlag ? 1 : 0);
}
Expand Down
4 changes: 2 additions & 2 deletions src/blog-post-workflow.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 info for advanced users :beers:', '\n\n```json\n' + JSON.stringify(postsArray, null, 2) + '\n```\n\n');
await core.summary.write();
process.exit(jobFailFlag ? 1 : 0);
}
Expand Down

0 comments on commit 6d9a3d6

Please sign in to comment.