From 45d2be549d50df102f61767fc265eb18a43fbb96 Mon Sep 17 00:00:00 2001 From: Tyrrrz Date: Tue, 15 Dec 2020 16:17:37 +0200 Subject: [PATCH] Install dotnet 5 on CI/CD so that source generators work --- .github/workflows/CD.yml | 7 ++++++- .github/workflows/CI.yml | 7 ++++++- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/.github/workflows/CD.yml b/.github/workflows/CD.yml index ee91c7c..d8bfe8c 100644 --- a/.github/workflows/CD.yml +++ b/.github/workflows/CD.yml @@ -13,11 +13,16 @@ jobs: - name: Checkout uses: actions/checkout@v2.3.3 - - name: Install .NET + - name: Install .NET (v3.1) uses: actions/setup-dotnet@v1.7.2 with: dotnet-version: 3.1.x + - name: Install .NET (v5.0) + uses: actions/setup-dotnet@v1.7.2 + with: + dotnet-version: 5.0.x + - 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 7ecd6f5..c2fb20c 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -10,11 +10,16 @@ jobs: - name: Checkout uses: actions/checkout@v2.3.3 - - name: Install .NET + - name: Install .NET (v3.1) uses: actions/setup-dotnet@v1.7.2 with: dotnet-version: 3.1.x + - name: Install .NET (v5.0) + uses: actions/setup-dotnet@v1.7.2 + with: + dotnet-version: 5.0.x + - name: Build & publish (CLI) run: dotnet publish DiscordChatExporter.Cli/ -o DiscordChatExporter.Cli/bin/Publish/ --configuration Release