From 0ff3bf80decd7ead3972bb39af5cb869b6c5e05a Mon Sep 17 00:00:00 2001 From: "Trez.One" Date: Thu, 19 Dec 2024 06:08:08 -0500 Subject: [PATCH] Splitting JSON for possibly easier processing for MD conversion. --- .gitea/workflows/branch-sonarscan-pr-merge.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.gitea/workflows/branch-sonarscan-pr-merge.yml b/.gitea/workflows/branch-sonarscan-pr-merge.yml index 8a1affcd..a6370f98 100644 --- a/.gitea/workflows/branch-sonarscan-pr-merge.yml +++ b/.gitea/workflows/branch-sonarscan-pr-merge.yml @@ -89,9 +89,9 @@ jobs: sed -E 's/([a-zA-Z0-9_]+):/\\"\1\\":/g; s/:([^",{}\[\]]+)/:"\1"/g' qg_input.txt > qg_raw.json jq -c '.' qg_raw.json > qg_fixed_json.json cat qg_fixed_json.json - projstatus=$(jq -r '.projectStatus.status' fixed.json) - caycStatus=$(jq -r '.projectStatus.caycStatus' fixed.json) - conditions=$(jq -c '.projectStatus.conditions' fixed.json) + projstatus=$(jq -r '.projectStatus.status' qg_fixed_json.json) + caycStatus=$(jq -r '.projectStatus.caycStatus' qg_fixed_json.json) + conditions=$(jq -c '.projectStatus.conditions' qg_fixed_json.json) echo "status=${status}" >> $GITHUB_OUTPUT echo "caycStatus=${caycStatus}" >> $GITHUB_OUTPUT