Skip to content

Commit

Permalink
Merge pull request #50 from playframework/nice-json
Browse files Browse the repository at this point in the history
Clean up matrix json (no whitespaces etc.)
  • Loading branch information
mkurz authored Oct 20, 2022
2 parents b2a83e3 + caba33f commit 27a4ab5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/cmd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,8 @@ jobs:
matrix+="\"include\":$(echo -n '${{ inputs.include }}'),"
matrix+="\"exclude\":$(echo -n '${{ inputs.exclude }}')"
matrix+="}"
# Cleanup JSON (no unnecessary whitespaces, etc.)
matrix=$(jq -n -c "$matrix")
echo $matrix
echo "matrix=$matrix" >> $GITHUB_OUTPUT
cmd:
Expand Down

0 comments on commit 27a4ab5

Please sign in to comment.