From 4d10d4607cf41e88691877c63f9e9673584991f5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kirill=20M=C3=BCller?= Date: Wed, 26 Jun 2024 21:20:26 +0200 Subject: [PATCH] ci: Debug matrix --- .github/workflows/versions-matrix-read/action.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.github/workflows/versions-matrix-read/action.yml b/.github/workflows/versions-matrix-read/action.yml index eb45080..1b5d03f 100644 --- a/.github/workflows/versions-matrix-read/action.yml +++ b/.github/workflows/versions-matrix-read/action.yml @@ -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