From 8304102136526e42000246a05255ae942dda5083 Mon Sep 17 00:00:00 2001 From: Lex Berezhny Date: Tue, 27 Jul 2021 11:54:08 -0400 Subject: [PATCH] move out of markdown converter --- .github/workflows/release.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 10d65f5fe..f71cccf2c 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -12,11 +12,11 @@ jobs: - uses: LoveToKnow/slackify-markdown-action@v1.0.0 id: markdown with: - text: " There is a new SDK release: ${{github.event.release.html_url}}\n${{ github.event.release.body }}" + text: "There is a new SDK release: ${{github.event.release.html_url}}\n${{ github.event.release.body }}" - uses: slackapi/slack-github-action@v1.14.0 env: - CHANGELOG: ${{ toJSON(steps.markdown.outputs.text) }} + CHANGELOG: ' ${{ steps.markdown.outputs.text }}' SLACK_WEBHOOK_URL: ${{ secrets.SLACK_RELEASE_BOT_WEBHOOK }} with: - payload: '{"type": "mrkdwn", "text": ${{ env.CHANGELOG }}}' + payload: '{"type": "mrkdwn", "text": ${{ toJSON(env.CHANGELOG) }}'