Skip to content

Commit

Permalink
Move the build to .net 5 (#2294)
Browse files Browse the repository at this point in the history
* Move the build to .net 5

.NET 5 is fine for building projects that target older versions of .NET. This also should fix the AppVeyor build which fails because the latest `coverlet.console` only supports .NET 5.

* Some things need .NET core 3.1 available

Co-authored-by: Brendan Forster <github@brendanforster.com>
  • Loading branch information
haacked and shiftkey authored Feb 21, 2021
1 parent 6105a9d commit 375c20e
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 7 deletions.
7 changes: 6 additions & 1 deletion .github/workflows/netcore.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,14 @@ jobs:

steps:
- uses: actions/checkout@v1
- name: Setup .NET 5
uses: actions/setup-dotnet@v1
with:
dotnet-version: 5.0.*
- name: Setup .NET Core
uses: actions/setup-dotnet@v1

with:
dotnet-version: 3.1.*
- name: Build with dotnet
run: ./build.sh --linksources=true --verbosity=verbose
shell: bash
2 changes: 2 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ jobs:
- uses: actions/checkout@v1
- name: Setup .NET Core
uses: actions/setup-dotnet@v1
with:
dotnet-version: 5.0.*

- name: Build with dotnet
run: ./build.sh --linksources=true --verbosity=verbose
Expand Down
6 changes: 0 additions & 6 deletions global.json

This file was deleted.

0 comments on commit 375c20e

Please sign in to comment.