diff --git a/entrypoint.sh b/entrypoint.sh index 358890e..b66915c 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -103,9 +103,9 @@ _set_github_output() { local keyNameOutput="$1" local keyNameOutputValue="$2" - keyNameOutputValueEscapedLineCount=$(echo -e "$keyNameOutputValue" | wc -l) + keyNameOutputValueLineCount=$(echo -e "$keyNameOutputValue" | wc -l) - if [ $keyNameOutputValueEscapedLineCount -gt 1 ]; then + if [ $keyNameOutputValueLineCount -gt 1 ]; then keyNameOutputValueMultiline=$(_key_name_output_value_to_multiline "$keyNameOutputValue") { echo "$keyNameOutput<