Supercharging GitHub Actions with Job Summaries
Blog post from GitHub
GitHub has introduced Job Summaries for GitHub Actions, allowing users to incorporate custom Markdown content into the run summary generated by each job. This new feature, which uses the $GITHUB_STEP_SUMMARY environment variable, enables the display of aggregated test results, reports, and other outputs directly on the Actions run summary page. To facilitate the creation of Job Summaries, GitHub has added a helper utility to the @actions/core npm package, making it easy to add headings, code blocks, tables, and links. This addresses a long-standing user request for richer content capabilities beyond logs and annotations, which were previously limited and led to decreased productivity. By supporting GitHub Flavored Markdown, Job Summaries open up numerous possibilities for enhancing CI workflows with interactive and visually rich outputs, and GitHub encourages users to provide feedback through the GitHub Actions Community Forum.