Skip to content

ConnorBaker/tasty-json-to-markdown-action

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Markdown tables built from tasty-json

This action creates a Markdown table from the JSON output by tasty-json and displays it as a job summary1.

It takes at least one argument, tasty_json_filepath, which is the path to the JSON file produced by tasty-json.

Optionally, it takes a second argument: markdown_filepath, the path where you'd like to store the produced Markdown file. This argument can be omitted, in which case the action will only write the resulting Markdown to the job summary.

As an example of what it does, check out the sample input JSON ./tests/resources/rest_rewrite_test_tasty.json and the resulting Markdown table ./tests/resources/expected.md. You can see an example of the job summary output by viewing the results of this action's build-test workflow. The data used is from a run of the rest library.

Footnotes

  1. https://github.blog/2022-05-09-supercharging-github-actions-with-job-summaries/