diff --git a/.github/workflows/build_and_release.yml b/.github/workflows/build_and_release.yml index e496177..ee0f963 100644 --- a/.github/workflows/build_and_release.yml +++ b/.github/workflows/build_and_release.yml @@ -26,7 +26,7 @@ jobs: run: ./gradlew generateDexRelease - name: Get changelogs id: changelogs - run: echo "::set-output name=content::$(cat ./changelogs/${{ github.ref_name }}.md)" + run: echo "::set-output name=content::$(cat ./changelogs/${{ github.ref_name }}.md | sed ':a;N;$!ba;s/\n/\\n/g')" - name: Release uses: ncipollo/release-action@v1 with: