Skip to content

Commit

Permalink
.github/workflow: fix set-matrix to output a json array
Browse files Browse the repository at this point in the history
Signed-off-by: Vincent Demeester <[email protected]>
  • Loading branch information
vdemeester committed Nov 28, 2024
1 parent 4ba171a commit 2881e51
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/index-render-template-main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
uses: actions/checkout@v4
- id: set-matrix
run: |
echo "versions=$(cd .konflux/olm-catalog/index && ls -d v*)" >> $GITHUB_OUTPUT
echo "versions=$(cd .konflux/olm-catalog/index && ls -d v* | jq -R -s -c 'split("\n")[:-1]')" >> $GITHUB_OUTPUT
outputs:
versions: ${{ steps.set-matrix.outputs.projects }}
generate-catalog:
Expand Down

0 comments on commit 2881e51

Please sign in to comment.