File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1818 runs-on : windows-latest
1919 env :
2020 Solution_Name : TimeTask.sln
21+ Main_Project_Path : TimeTask.csproj
2122 Build_Configuration : Release
2223 steps :
2324 - name : Checkout
@@ -26,12 +27,12 @@ jobs:
2627 - name : Setup MSBuild.exe
2728 uses : microsoft/setup-msbuild@v2
2829
29- - name : Restore solution
30- run : msbuild $env:Solution_Name /t:Restore /p:Configuration=$env:Build_Configuration
30+ - name : Restore main project
31+ run : msbuild $env:Main_Project_Path /t:Restore /p:Configuration=$env:Build_Configuration
3132
32- - name : Build solution
33- run : msbuild $env:Solution_Name /p:Configuration=$env:Build_Configuration /p:Platform="Any CPU" /m
33+ - name : Build main project
34+ run : msbuild $env:Main_Project_Path /p:Configuration=$env:Build_Configuration /p:Platform="Any CPU" /m
3435
3536 - name : Execute unit tests (optional)
3637 if : ${{ github.event_name == 'workflow_dispatch' && inputs.run_tests == true }}
37- run : dotnet test TimeTask.Tests/TimeTask.Tests.csproj -c $env:Build_Configuration --no-build
38+ run : dotnet test TimeTask.Tests/TimeTask.Tests.csproj -c $env:Build_Configuration
You can’t perform that action at this time.
0 commit comments