Fix binding issue by using an older .NET SDK to build

This commit is contained in:
Oleksii Holub
2022-03-07 03:33:54 +02:00
parent 67325b610a
commit 9221966171
3 changed files with 4 additions and 9 deletions

View File

@@ -20,7 +20,8 @@ jobs:
- name: Install .NET
uses: actions/setup-dotnet@v1.7.2
with:
dotnet-version: 6.0.x
# Fixed version, workaround for https://github.com/dotnet/core/issues/7176
dotnet-version: 6.0.100
- name: Build & publish (CLI)
run: dotnet publish DiscordChatExporter.Cli/ -o DiscordChatExporter.Cli/bin/Publish/ --configuration Release

View File

@@ -13,7 +13,8 @@ jobs:
- name: Install .NET
uses: actions/setup-dotnet@v1.7.2
with:
dotnet-version: 6.0.x
# Fixed version, workaround for https://github.com/dotnet/core/issues/7176
dotnet-version: 6.0.100
- name: Build & test
# Tests need access to secrets, so we can't run them against PRs because of limited trust