From bb4c3edd9e4df028a6bba26a351064547946bccc Mon Sep 17 00:00:00 2001 From: Max Howell Date: Fri, 15 Dec 2023 16:30:22 -0500 Subject: [PATCH] Fix newlines in projects GHA input --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ee1fd954..a571a36f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -26,7 +26,7 @@ jobs: run: | for x in ${{ steps.get-diff.outputs.diff }}; do y=$(echo $x | sed 's#projects/\(.*\)/[^/]*#\1#') - RESULT="$RESULT $y" + RESULT="$RESULT ${y//$'\n'/}" done if [ -n "$RESULT" ]; then RESULT="$(echo $RESULT | jq -R -s -c 'split(" ")')"