Build with the .NET 5.0 SDK

Signed-off-by: Jon Skeet <jonskeet@google.com>
This commit is contained in:
Jon Skeet 2021-06-04 09:46:02 +01:00 committed by Jon Skeet
parent 19afd42806
commit cac8edf61c
2 changed files with 14 additions and 4 deletions

View File

@ -17,18 +17,23 @@ jobs:
- name: Check out our repo
uses: actions/checkout@v2
# We need just the .NET Core 2.1 runtime for testing
# We need the .NET Core 2.1 and .NET Core 3.1 runtimes for testing
- name: Setup .NET Core 2.1
uses: actions/setup-dotnet@v1
with:
dotnet-version: 2.1.x
# Build with .NET Core 3.1 SDK
- name: Setup .NET Core 3.1
uses: actions/setup-dotnet@v1
with:
dotnet-version: 3.1.x
# Build with .NET Core 5.0 SDK
- name: Setup .NET Core 5.0
uses: actions/setup-dotnet@v1
with:
dotnet-version: 5.0.x
- name: Build
run: |
dotnet build

View File

@ -15,18 +15,23 @@ jobs:
- name: Check out our repo
uses: actions/checkout@v2
# We need just the .NET Core 2.1 runtime for testing
# We need the .NET Core 2.1 and .NET Core 3.1 runtimes for testing
- name: Setup .NET Core 2.1
uses: actions/setup-dotnet@v1
with:
dotnet-version: 2.1.x
# Build with .NET Core 3.1 SDK
- name: Setup .NET Core 3.1
uses: actions/setup-dotnet@v1
with:
dotnet-version: 3.1.x
# Build with .NET Core 5.0 SDK
- name: Setup .NET Core 5.0
uses: actions/setup-dotnet@v1
with:
dotnet-version: 5.0.x
- name: Build
run: |
dotnet build -c Release