Skip to content

Commit c8b776f

Browse files
committed
ci: make projects a comma separated string.
1 parent e48c2cc commit c8b776f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/ruby.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,12 +31,12 @@ jobs:
3131
projects+=($(dirname "$i"))
3232
done
3333
printf -v joined '%s,' "${projects[@]}"
34-
echo "${joined%,}"
35-
echo "projects=${joined}" >> $GITHUB_OUTPUT
34+
echo $projects | jq --raw-input 'split(" ")'
35+
echo "projects=${joined%,}" >> $GITHUB_OUTPUT
3636
- name: Show all matching projects
3737
shell: bash
3838
run: |
39-
echo "${{ steps.paths.outputs.projects }})"
39+
echo "${{ steps.paths.outputs.projects }}"
4040
outputs:
4141
projects: ${{ steps.paths.outputs.projects }}
4242

0 commit comments

Comments
 (0)