Skip to content

Commit

Permalink
fix: prep-matrix job
Browse files Browse the repository at this point in the history
  • Loading branch information
leovct committed Aug 5, 2023
1 parent 501b1a7 commit 87cd45e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,10 @@ jobs:
- name: Checkout sources
uses: actions/checkout@v3
- name: Set matrix
run: ls | grep 'operator-v*' >> $GITHUB_OUTPUT
run: |
sudo apt install jq
export paths=$(ls | grep 'operator-v*')
echo $paths | jq -R -s -c 'split("\n")[:-1]' >> $GITHUB_OUTPUT
outputs:
matrix: ${{ steps.set-matrix.outputs.matrix }}

Expand Down

0 comments on commit 87cd45e

Please sign in to comment.