use echo -e
This commit is contained in:
@@ -83,7 +83,7 @@ runs:
|
|||||||
fi
|
fi
|
||||||
CAPTION="$STATUS${{ inputs.caption }}"
|
CAPTION="$STATUS${{ inputs.caption }}"
|
||||||
echo "Caption: $CAPTION"
|
echo "Caption: $CAPTION"
|
||||||
PARSED_TEXT=$(printf "%b" "$CAPTION${{ inputs.message }}")
|
PARSED_TEXT=$(echo -e $CAPTION\n${{ inputs.message }})
|
||||||
echo "PARSED_TEXT: $PARSED_TEXT"
|
echo "PARSED_TEXT: $PARSED_TEXT"
|
||||||
sendMessage "${{ inputs.bot_token }}" ${{ inputs.chat_id }} "$PARSED_TEXT" "${{ inputs.button_title }}" "$button_url"
|
sendMessage "${{ inputs.bot_token }}" ${{ inputs.chat_id }} "$PARSED_TEXT" "${{ inputs.button_title }}" "$button_url"
|
||||||
shell: bash
|
shell: bash
|
||||||
|
|||||||
Reference in New Issue
Block a user