From 2cfee0932e6ecf84b7d3f941ffab0a7f0e8257bb Mon Sep 17 00:00:00 2001 From: Jacob Heider Date: Mon, 1 Jan 2024 16:30:31 -0500 Subject: [PATCH] newlines causing issues --- .github/workflows/new-version.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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