Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
Signed-off-by: David Fridrich <[email protected]>
  • Loading branch information
gauron99 committed Dec 11, 2024
1 parent 8745329 commit d65e9f8
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/manual-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand All @@ -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
Expand Down

0 comments on commit d65e9f8

Please sign in to comment.