Still trying to retrieve report results in Markdown...

This commit is contained in:
2024-12-18 09:30:24 -05:00
parent c87de397ac
commit 64e4f49b8b
@@ -88,12 +88,13 @@ jobs:
echo '${{ steps.quality-gate-check.outputs.quality-gate-result }}' > input.txt
sed -E 's/([a-zA-Z0-9_]+):/\\"\1\\":/g; s/:([^",{}\[\]]+)/:"\1"/g' input.txt > fixed.json
echo "fixed-json=$(cat fixed.json)" >> $GITHUB_OUTPUT
cat fixed.json | jq
- name: Convert JSON report to markdown
id: convert-json-to-md
uses: parkerbxyz/json-to-markdown-table@v1.1.2
with:
json: ${{ toJSON(steps.json-cleanup.outputs) }}
json: '${{ toJSON(steps.json-cleanup.outputs) }}'
- name: Verify markdown output
run: |