Skip to content

Commit

Permalink
Replace cat with jq for compact json
Browse files Browse the repository at this point in the history
Signed-off-by: Michal Czyz <[email protected]>
  • Loading branch information
mczyz-antmicro committed Mar 11, 2024
1 parent 5aaf7e9 commit 11aa316
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/xls-modules.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,8 @@ jobs:
- name: Read json file
id: read-json
run: |
echo "json_config=$(cat .github/workflows/xls-modules.json)" | tee -a "$GITHUB_ENV"
sudo apt install jq
echo "json_config=$(jq -c . .github/workflows/xls-modules.json)" | tee -a "$GITHUB_ENV"
implement:
needs: config-matrix
Expand Down

0 comments on commit 11aa316

Please sign in to comment.