mirror of
https://github.com/armbian/configng.git
synced 2026-01-06 10:37:41 -08:00
fix: json valide
This commit is contained in:
4
.github/workflows/validate-json.yml
vendored
4
.github/workflows/validate-json.yml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user