|
|
@ -18,8 +18,7 @@ jobs:
|
|
|
|
- name: Install .NET
|
|
|
|
- name: Install .NET
|
|
|
|
uses: actions/setup-dotnet@v2
|
|
|
|
uses: actions/setup-dotnet@v2
|
|
|
|
with:
|
|
|
|
with:
|
|
|
|
# Fixed version, workaround for https://github.com/dotnet/core/issues/7176
|
|
|
|
dotnet-version: 6.0.x
|
|
|
|
dotnet-version: 6.0.100
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- name: Run tests
|
|
|
|
- name: Run tests
|
|
|
|
# Tests need access to secrets, so we can't run them against PRs because of limited trust
|
|
|
|
# Tests need access to secrets, so we can't run them against PRs because of limited trust
|
|
|
@ -50,8 +49,7 @@ jobs:
|
|
|
|
- name: Install .NET
|
|
|
|
- name: Install .NET
|
|
|
|
uses: actions/setup-dotnet@v2
|
|
|
|
uses: actions/setup-dotnet@v2
|
|
|
|
with:
|
|
|
|
with:
|
|
|
|
# Fixed version, workaround for https://github.com/dotnet/core/issues/7176
|
|
|
|
dotnet-version: 6.0.x
|
|
|
|
dotnet-version: 6.0.100
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- name: Publish (CLI)
|
|
|
|
- name: Publish (CLI)
|
|
|
|
run: dotnet publish DiscordChatExporter.Cli/ -o DiscordChatExporter.Cli/bin/Publish/ --configuration Release
|
|
|
|
run: dotnet publish DiscordChatExporter.Cli/ -o DiscordChatExporter.Cli/bin/Publish/ --configuration Release
|
|
|
@ -151,4 +149,4 @@ jobs:
|
|
|
|
payload: |
|
|
|
|
payload: |
|
|
|
|
{
|
|
|
|
{
|
|
|
|
"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>"
|
|
|
|
"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>"
|
|
|
|
}
|
|
|
|
}
|