Skip to content

Commit

Permalink
.github/workflow: fix set-matrix to use the proper name
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 2881e51 commit f4d16a4
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/index-render-template-main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,13 @@ jobs:
uses: actions/checkout@v4
- id: set-matrix
run: |
echo "versions=$(cd .konflux/olm-catalog/index && ls -d v* | jq -R -s -c 'split("\n")[:-1]')" >> $GITHUB_OUTPUT
pushd
VERSIONS=$(ls -d v* | jq -R -s -c 'split("\n")[:-1]')
popd
echo "Versions: ${VERSIONS}"
echo "versions=${VERSIONS}" >> $GITHUB_OUTPUT
outputs:
versions: ${{ steps.set-matrix.outputs.projects }}
versions: ${{ steps.set-matrix.outputs.versions }}
generate-catalog:
needs: build-matrix
if: github.repository_owner == 'openshift-pipelines' # do not run this elsewhere
Expand Down

0 comments on commit f4d16a4

Please sign in to comment.