diff --git a/.github/workflows/new-version.yml b/.github/workflows/new-version.yml index 33b5c097..b027b1e8 100644 --- a/.github/workflows/new-version.yml +++ b/.github/workflows/new-version.yml @@ -25,7 +25,7 @@ jobs: pkgs: ${{ steps.divide.outputs.pkgs }} steps: - 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 id: divide