Skip to content

Commit

Permalink
use jq to have minified json (single line)
Browse files Browse the repository at this point in the history
  • Loading branch information
hellt committed Feb 6, 2025
1 parent a5f3924 commit 3170fea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/cicd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
from: "yaml"
to: "json"
- id: set-matrix
run: echo "matrix=$(cat ${{ steps.converter.outputs.result-path }}/matrix.json )" >> $GITHUB_OUTPUT
run: echo "matrix=$(jq -c . < ${{ steps.converter.outputs.result-path }}/matrix.json )" >> $GITHUB_OUTPUT

test:
runs-on: ${{ matrix.runs-on }}
Expand Down

0 comments on commit 3170fea

Please sign in to comment.