From 87cd45e3e5cb03e066b132763e3f55a76a7eb2e4 Mon Sep 17 00:00:00 2001 From: leovct Date: Sat, 5 Aug 2023 13:25:17 +0200 Subject: [PATCH] fix: `prep-matrix` job --- .github/workflows/ci.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8214ec4..5ac844f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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 }}