File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 11function Build ()
22{
3- & dotnet restore GitLabApiClient.sln | Write-Host
3+ & dotnet restore | Write-Host
44 if ($LastExitCode -ne 0 )
55 {
66 exit 1
77 }
88
9- & dotnet build src\GitLabApiClient\GitLabApiClient.csproj | Write-Host
9+ & dotnet build -- no - restore | Write-Host
1010 if ($LastExitCode -ne 0 )
1111 {
1212 exit 1
1313 }
1414
15- & dotnet build src\GitLabApiClient\GitLabApiClient.csproj - c Release | Write-Host
15+ & dotnet build - c Release -- no - restore | Write-Host
1616 if ($LastExitCode -ne 0 )
1717 {
1818 exit 1
@@ -21,7 +21,7 @@ function Build()
2121
2222function Pack ()
2323{
24- & dotnet pack src\GitLabApiClient\GitLabApiClient.csproj - c Release -- no- build | Write-Host
24+ & dotnet pack - c Release -- no - restore -- no- build | Write-Host
2525 if ($LastExitCode -ne 0 )
2626 {
2727 exit 1
Original file line number Diff line number Diff line change 1- & dotnet test -- filter Category! = LinuxIntegration -- settings coverletArgs.runsettings
1+ & dotnet test -- filter Category! = LinuxIntegration -- settings coverletArgs.runsettings -- no - build -- no - restore
22
33if ($LastExitCode -ne 0 )
44{
You can’t perform that action at this time.
0 commit comments