From 8d480bda8933fa14756cc2dbedb3aba5534bd3c8 Mon Sep 17 00:00:00 2001 From: "Trez.One" Date: Tue, 17 Dec 2024 22:03:58 -0500 Subject: [PATCH] Still trying to retrieve report results in Markdown... --- .gitea/workflows/branch-sonarscan-pr-merge.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/branch-sonarscan-pr-merge.yml b/.gitea/workflows/branch-sonarscan-pr-merge.yml index 5c9c12cb..407fcfc8 100644 --- a/.gitea/workflows/branch-sonarscan-pr-merge.yml +++ b/.gitea/workflows/branch-sonarscan-pr-merge.yml @@ -85,13 +85,14 @@ jobs: run: | echo "Quality Gate Status: ${{ steps.quality-gate-check.outputs.project-status }}" echo "Quality Gate Result: " - echo "${{ steps.quality-gate-check.outputs.quality-gate-result }}" | jq + echo "${{ steps.quality-gate-check.outputs.quality-gate-result }}" > quality-gate-result.json + cat quality-gate-result.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.quality-gate-check.outputs.quality-gate-result) }} + json: toJSON(${{ steps.quality-gate-check.outputs.quality-gate-result }}) - name: Verify markdown output run: |