|
|
|
@ -13,6 +13,10 @@ jobs:
|
|
|
|
|
- name: Checkout
|
|
|
|
|
uses: actions/checkout@v2.3.3
|
|
|
|
|
|
|
|
|
|
- name: Get release version
|
|
|
|
|
id: get-version
|
|
|
|
|
uses: dawidd6/action-get-tag@v1
|
|
|
|
|
|
|
|
|
|
- name: Install .NET (v3.1)
|
|
|
|
|
uses: actions/setup-dotnet@v1.7.2
|
|
|
|
|
with:
|
|
|
|
@ -76,6 +80,6 @@ jobs:
|
|
|
|
|
-Uri "${{ secrets.DISCORD_WEBHOOK }}" `
|
|
|
|
|
-Method "POST" `
|
|
|
|
|
-ContentType "application/json; charset=UTF-8" `
|
|
|
|
|
-Body '{"content":"**DiscordChatExporter** new version released!\nRef: `${{ github.ref }}`\nChangelog: <https://github.com/Tyrrrz/DiscordChatExporter/blob/${{ github.sha }}/Changelog.md>"}' `
|
|
|
|
|
-Body '{"content":"**DiscordChatExporter** new version released!\nVersion: `${{ steps.get-version.outputs.tag }}`\nChangelog: <https://github.com/Tyrrrz/DiscordChatExporter/blob/${{ steps.get-version.outputs.tag }}/Changelog.md>"}' `
|
|
|
|
|
-UseBasicParsing
|
|
|
|
|
shell: pwsh
|
|
|
|
|