Skip to content

Commit

Permalink
feat: v1
Browse files Browse the repository at this point in the history
  • Loading branch information
jaironalves committed Jun 22, 2024
1 parent 7323371 commit 1e3d1fe
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ _set_github_output() {
local propAndValue="$1"
prop="${propAndValue%%=*}"
value="${propAndValue#*=}"
echo "${propAndValue}"
echo "$(printf '%b\n' "$value")"
#echo "${propAndValue}"
#echo "$(printf '%b\n' "$value")"
if echo $value | grep -iq "\\n"; then
value_multiline=$(echo "${value//#EOL#/$'\n'}")
{
Expand All @@ -33,7 +33,7 @@ set -e

_properties=$(_yaml_to_properties "$INPUT_YAML_FILE_PATH")
_parsed_properties=$(_replace_dots "$_properties" "_")
_escaped_multiline_properties=$(echo "${_parsed_properties//\\n/#EOL#}")
#_escaped_multiline_properties=$(echo "${_parsed_properties//\\n/#EOL#}")

echo "$(printf '%b\n' "$_parsed_properties")"

Expand Down

0 comments on commit 1e3d1fe

Please sign in to comment.