singleline test
@@ -171,15 +171,5 @@ jobs:
- name: Discord notification
env:
DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK }}
- DISCORD_EMBEDS: >
- [{
- "title": "Release: ${{github.event.release.name}} is now available for download!",
- "url": "${{github.event.release.html_url}}",
- "description": "${{github.event.release.body}}",
- "author": {
- "name": "${{github.event.release.author.login}}",
- "url": "${{github.event.release.author.html_url}}",
- "icon_url": "${{github.event.release.author.avatar_url}}"
- }
- }]
+ DISCORD_EMBEDS: '[{ "title": "Release: ${{github.event.release.name}} is now available for download!","url": "${{github.event.release.html_url}}", "description": "${{github.event.release.body}}", "author": { "name": "${{github.event.release.author.login}}","url": "${{github.event.release.author.html_url}}","icon_url": "${{github.event.release.author.avatar_url}}" }}]'
uses: Ilshidur/action-discord@0.3.0
