Build with the .NET 5.0 SDK
Signed-off-by: Jon Skeet <jonskeet@google.com>
This commit is contained in:
parent
19afd42806
commit
cac8edf61c
|
@ -17,18 +17,23 @@ jobs:
|
||||||
- name: Check out our repo
|
- name: Check out our repo
|
||||||
uses: actions/checkout@v2
|
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
|
- name: Setup .NET Core 2.1
|
||||||
uses: actions/setup-dotnet@v1
|
uses: actions/setup-dotnet@v1
|
||||||
with:
|
with:
|
||||||
dotnet-version: 2.1.x
|
dotnet-version: 2.1.x
|
||||||
|
|
||||||
# Build with .NET Core 3.1 SDK
|
|
||||||
- name: Setup .NET Core 3.1
|
- name: Setup .NET Core 3.1
|
||||||
uses: actions/setup-dotnet@v1
|
uses: actions/setup-dotnet@v1
|
||||||
with:
|
with:
|
||||||
dotnet-version: 3.1.x
|
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
|
- name: Build
|
||||||
run: |
|
run: |
|
||||||
dotnet build
|
dotnet build
|
||||||
|
|
|
@ -15,18 +15,23 @@ jobs:
|
||||||
- name: Check out our repo
|
- name: Check out our repo
|
||||||
uses: actions/checkout@v2
|
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
|
- name: Setup .NET Core 2.1
|
||||||
uses: actions/setup-dotnet@v1
|
uses: actions/setup-dotnet@v1
|
||||||
with:
|
with:
|
||||||
dotnet-version: 2.1.x
|
dotnet-version: 2.1.x
|
||||||
|
|
||||||
# Build with .NET Core 3.1 SDK
|
|
||||||
- name: Setup .NET Core 3.1
|
- name: Setup .NET Core 3.1
|
||||||
uses: actions/setup-dotnet@v1
|
uses: actions/setup-dotnet@v1
|
||||||
with:
|
with:
|
||||||
dotnet-version: 3.1.x
|
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
|
- name: Build
|
||||||
run: |
|
run: |
|
||||||
dotnet build -c Release
|
dotnet build -c Release
|
||||||
|
|
Loading…
Reference in New Issue