File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11name : Build Status
2-
32on :
43 push :
54 branches :
65 - master
7-
86jobs :
97 build-and-test-windows :
108 name : Build And Test
11- runs-on : windows-2019
12-
9+ runs-on : windows-latest
1310 steps :
14- - uses : actions/checkout@v2
11+ - uses : actions/checkout@v4
1512
16- - name : Setup .NET Core
17- uses : actions/setup-dotnet@v1
13+ - name : Setup .NET
14+ uses : actions/setup-dotnet@v4
1815 with :
19- dotnet-version : 5.0.301
16+ dotnet-version : |
17+ 8.0.x
18+ 10.0.x
2019
2120 - name : Generate Classes
22- run : dotnet run -c Release -f net5 .0 -p tools\NHapiTools.Generator\NHapiTools.Generator.csproj
21+ run : dotnet run -c Release -f net8 .0 -p tools\NHapiTools.Generator\NHapiTools.Generator.csproj
2322
2423 - name : Install dependencies
2524 run : dotnet restore
2928
3029 - name : Run tests for all target frameworks
3130 run : |
32- dotnet test -c Debug -f net461 --no-restore -r TestResults
33- dotnet test -c Debug -f net5.0 --no-restore -r TestResults
31+ dotnet test -c Debug -f net462 --no-restore -r TestResults
32+ dotnet test -c Debug -f net8.0 --no-restore -r TestResults
33+ dotnet test -c Debug -f net10.0 --no-restore -r TestResults
3434
3535 - name : NuGet Pack
3636 run : NuGet.exe pack NHapiTools.nuspec
You can’t perform that action at this time.
0 commit comments