diff --git a/action.yml b/action.yml index 258ac42..bb01877 100644 --- a/action.yml +++ b/action.yml @@ -50,5 +50,7 @@ runs: GITHUB_ACTION_PATH: ${{ github.action_path }} - name: Send message - run: sendMessage "${{ inputs.bot_token }}" "${{ inputs.chat_id }}" $(echo -e "/"${{ inputs.message }}/"") - shell: bash \ No newline at end of file + run: sendMessage "${{ inputs.bot_token }}" "${{ inputs.chat_id }}" "$MESSAGE" + shell: bash + env: + MESSAGE: ${{ inputs.message }} \ No newline at end of file