mirror of
https://github.com/ivabus/pantry
synced 2024-11-25 18:05:07 +03:00
Fix newlines in projects GHA input
This commit is contained in:
parent
e78a2c65ce
commit
bb4c3edd9e
1 changed files with 1 additions and 1 deletions
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
|
@ -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(" ")')"
|
||||
|
|
Loading…
Reference in a new issue