File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1212jobs :
1313 build :
1414
15- runs-on : ubuntu -latest
15+ runs-on : [windows -latest]
1616
1717 steps :
1818 - uses : actions/checkout@v3
19- - name : Setup .NET
20- uses : actions/setup-dotnet@v3
21- with :
22- dotnet-version : 4.8.x
19+
20+ - name : Setup MsBuild
21+ uses : microsoft/setup-msbuild@v1.3.1
22+
23+ - name : vstest-action
24+ uses : microsoft/vstest-action@v1.0.0
25+
26+ - name : Setup NuGet.exe
27+ # You may pin to the exact commit or the version.
28+ # uses: NuGet/setup-nuget@296fd3ccf8528660c91106efefe2364482f86d6f
29+ uses : NuGet/setup-nuget@v1.2.0
30+
2331 - name : Restore dependencies
24- run : dotnet restore
32+ run : nuget restore CodeDocumentor.sln
33+
2534 - name : Build
26- run : dotnet build --no-restore
35+ run : msbuild CodeDocumentor.sln /p:platform="Any CPU" /p:configuration="Release"
36+
2737 - name : Test
28- run : dotnet test --no-build --verbosity normal
38+ uses : microsoft/vstest-action@v1.0.0
You can’t perform that action at this time.
0 commit comments