From 9221966171bb13a30451a923185fec2864a44f77 Mon Sep 17 00:00:00 2001
From: Oleksii Holub <1935960+Tyrrrz@users.noreply.github.com>
Date: Mon, 7 Mar 2022 03:33:54 +0200
Subject: [PATCH] Fix binding issue by using an older .NET SDK to build
---
.github/workflows/CD.yml | 3 ++-
.github/workflows/CI.yml | 3 ++-
DiscordChatExporter.Gui/DiscordChatExporter.Gui.csproj | 7 -------
3 files changed, 4 insertions(+), 9 deletions(-)
diff --git a/.github/workflows/CD.yml b/.github/workflows/CD.yml
index 6a58ac2d..b5af3cf2 100644
--- a/.github/workflows/CD.yml
+++ b/.github/workflows/CD.yml
@@ -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
diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml
index edf75f56..ea85da7c 100644
--- a/.github/workflows/CI.yml
+++ b/.github/workflows/CI.yml
@@ -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
diff --git a/DiscordChatExporter.Gui/DiscordChatExporter.Gui.csproj b/DiscordChatExporter.Gui/DiscordChatExporter.Gui.csproj
index 4cb5624d..a4096497 100644
--- a/DiscordChatExporter.Gui/DiscordChatExporter.Gui.csproj
+++ b/DiscordChatExporter.Gui/DiscordChatExporter.Gui.csproj
@@ -29,11 +29,4 @@
-
-
-
-
-
\ No newline at end of file