From d65e9f8a8f6b7cd2e734ee3d65759e3c255f3571 Mon Sep 17 00:00:00 2001 From: David Fridrich Date: Wed, 11 Dec 2024 11:06:48 +0100 Subject: [PATCH] fix Signed-off-by: David Fridrich --- .github/workflows/manual-workflow.yml | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/.github/workflows/manual-workflow.yml b/.github/workflows/manual-workflow.yml index 979cb97..209bbb8 100644 --- a/.github/workflows/manual-workflow.yml +++ b/.github/workflows/manual-workflow.yml @@ -17,7 +17,7 @@ jobs: uses: gauron99/knative-func-action@main with: version: ${{ env.FUNC_VERSION }} - name: func + name: f - name: Get Matrix id: get-matrix run: | @@ -27,8 +27,13 @@ jobs: pwd ## NOTE: ls -d returns absolute path ## GITHUB_WORKSPACE is the root directory - echo "TO MATRIX: $(ls -d ${GITHUB_WORKSPACE}/*/)" - echo "languages=$(ls -d ${GITHUB_WORKSPACE}/*/ | jq -R -s 'split("\n")[:-1]')" >> $GITHUB_OUTPUT + languages="{\"new\":[" + languages+="$(ls -d ${GITHUB_WORKSPACE}/*/ | jq -R -s 'split("\n")[:-1]')" + languages+="]}" + + echo "TO MATRIX:$languages" + + echo languages=languages >> $GITHUB_OUTPUT deploy: needs: prepare