From f2003ce25474ec174f032f67474a7e91e0f3cb8a Mon Sep 17 00:00:00 2001 From: Ric Evans <19216225+ric-evans@users.noreply.github.com> Date: Fri, 15 Nov 2024 15:25:57 -0600 Subject: [PATCH] keywords - 4 --- action.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/action.yml b/action.yml index ec85525..a33b86b 100644 --- a/action.yml +++ b/action.yml @@ -143,7 +143,10 @@ runs: run: | CLEANED_KEYWORDS="${{ inputs.keywords }}" # Wrap each line in quotes if not already quoted, then replace newlines with spaces - CLEANED_KEYWORDS=$(printf "%s" "${{ inputs.keywords }}" | sed 's/^[^"].*[^"]$/"&"/' | tr '\n' ' ') + CLEANED_KEYWORDS=$(sed 's/^[^"].*[^"]$/"&"/' <> $GITHUB_ENV shell: bash