Get and convert job summaries to Md, PDF, and HTML.
Tip
Try combining this with notification actions such as send-email, slack, teams, discord, etc.
Call the action and it will save the job summary as a PDF called job-summary.pdf
- uses: austenstone/job-summary@v2.0
- uses: austenstone/job-summary@v2.0
id: job-summary
with:
create-pdf: false
- run: echo "${{ steps.job-summary.outputs.job-summary }}"
Various inputs are defined in action.yml
:
Name | Description | Default | Required |
---|---|---|---|
name | The name of the Md and PDF file. | README | false |
create-pdf | Whether to create a PDF file. | true | false |
create-pdf-artifact | If the PDF will be saved as an artifact. | true | false |
create-md | Whether to create a markdown file. | true | false |
create-md-artifact | If the markdown will be saved as an artifact. | true | false |
Name | Description |
---|---|
job-summary | The full job summary as markdown. |
pdf-file | The path to the PDF file. |
md-file | The path to the markdown file. |
To get more help on the Actions see documentation.