-
Notifications
You must be signed in to change notification settings - Fork 5
39 lines (35 loc) · 1.73 KB
/
dotnetcore.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
name: build
on: [push]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [macOS-latest, ubuntu-latest, windows-latest]
steps:
- name: Setup .NET Core 3.1
uses: actions/setup-dotnet@v1
with:
dotnet-version: '3.1.x'
- name: Setup .NET 5.0
uses: actions/setup-dotnet@v1
with:
dotnet-version: '5.0.x'
- name: Setup .NET 6.0
uses: actions/setup-dotnet@v1
with:
dotnet-version: '6.0.x'
- name: Checkout
uses: actions/checkout@v2
- name: Build with dotnet for .NET CORE 3.1
run: dotnet build ./src/ZNetCS.AspNetCore.ResumingFileResults/ZNetCS.AspNetCore.ResumingFileResults.csproj --configuration Release --framework netcoreapp3.1
- name: Build with dotnet for .NET 5.0
run: dotnet build ./src/ZNetCS.AspNetCore.ResumingFileResults/ZNetCS.AspNetCore.ResumingFileResults.csproj --configuration Release --framework net5.0
- name: Build with dotnet for .NET 6.0
run: dotnet build ./src/ZNetCS.AspNetCore.ResumingFileResults/ZNetCS.AspNetCore.ResumingFileResults.csproj --configuration Release --framework net6.0
- name: Test with dotnet for .NET CORE 3.1
run: dotnet test ./test/ZNetCS.AspNetCore.ResumingFileResultsTest/ZNetCS.AspNetCore.ResumingFileResultsTest.csproj --framework netcoreapp3.1
- name: Test with dotnet for .NET 5.0
run: dotnet test ./test/ZNetCS.AspNetCore.ResumingFileResultsTest/ZNetCS.AspNetCore.ResumingFileResultsTest.csproj --framework net5.0
- name: Test with dotnet for .NET 6.0
run: dotnet test ./test/ZNetCS.AspNetCore.ResumingFileResultsTest/ZNetCS.AspNetCore.ResumingFileResultsTest.csproj --framework net6.0