Skip to content

Commit

Permalink
ci: Debug matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
krlmlr committed Jun 26, 2024
1 parent 7134fcb commit 4d10d46
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/versions-matrix-read/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,15 @@ outputs:
runs:
using: "composite"
steps:
- name: Install json2yaml
run: |
sudo npm install -g json2yaml
shell: bash

- id: set-matrix
run: |
echo matrix=$(cat .github/versions-matrix.json || echo '[]') >> $GITHUB_OUTPUT
matrix=$(cat .github/versions-matrix.json || echo '[]')
echo $matrix | jq .
echo $matrix | json2yaml
echo "matrix=$matrix" | tee -a $GITHUB_OUTPUT
shell: bash

0 comments on commit 4d10d46

Please sign in to comment.