newlines causing issues

This commit is contained in:
Jacob Heider 2024-01-01 16:30:31 -05:00
parent 80916a4d91
commit 2cfee0932e
No known key found for this signature in database
GPG key ID: 59D15ADC7DCD39BB

View file

@ -25,7 +25,7 @@ jobs:
pkgs: ${{ steps.divide.outputs.pkgs }} pkgs: ${{ steps.divide.outputs.pkgs }}
steps: steps:
- run: | - run: |
var="$(echo ${{ inputs.projects }} | jq -R -s -c 'split(" ")')" var="$(echo -n ${{ inputs.projects }} | jq -R -s -c 'split(" ")')"
echo "pkgs=$var" >> $GITHUB_OUTPUT echo "pkgs=$var" >> $GITHUB_OUTPUT
id: divide id: divide