fix: json valide

This commit is contained in:
Tearran
2024-10-27 10:36:07 -07:00
committed by Joey Turner
parent a82fc1b033
commit 42989753be

View File

@@ -21,7 +21,7 @@ jobs:
- name: Check JSON
run: |
JSON=$(cat config/lib/armbian-configng/config.ng.jobs.json | jq)
EMPTY=$(cat config/lib/armbian-configng/config.ng.jobs.json | jq | nl | grep '"author": ""' | awk '{print $1}' | paste -s -d, -)
JSON=$(cat config/lib/armbian-config/config.jobs.json | jq)
EMPTY=$(cat config/lib/armbian-config/config.jobs.json | jq | nl | grep '"author": ""' | awk '{print $1}' | paste -s -d, -)
echo "## Warning: Empty author field in lines:" >> $GITHUB_STEP_SUMMARY
echo $EMPTY >> $GITHUB_STEP_SUMMARY