Skip to content

Commit

Permalink
test6
Browse files Browse the repository at this point in the history
  • Loading branch information
Tearran committed Dec 26, 2024
1 parent 9b42bd8 commit 9c09354
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/json-unit-testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,8 @@ jobs:
echo "Loading JSON data..."
JSON_FILE_PATH="tools/json/config.temp.json"
DATA=$(cat $JSON_FILE_PATH)
echo "DATA=$DATA" >> $GITHUB_ENV
echo "$DATA" > $GITHUB_WORKSPACE/loaded_data.json
PARSED_DATA=$(jq '.' $GITHUB_WORKSPACE/loaded_data.json)
jq '.' $GITHUB_WORKSPACE/loaded_data.json > /dev/null
if [ $? -ne 0 ]; then
echo "Error: Failed to parse JSON data"
exit 1
Expand Down

0 comments on commit 9c09354

Please sign in to comment.