Skip to content

Commit 1540cbc

Browse files
committed
fix appveyor build
1 parent c7e81a3 commit 1540cbc

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

build.ps1

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
function 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

2222
function 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

test.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
& dotnet test --filter Category!=LinuxIntegration --settings coverletArgs.runsettings
1+
& dotnet test --filter Category!=LinuxIntegration --settings coverletArgs.runsettings --no-build --no-restore
22

33
if ($LastExitCode -ne 0)
44
{

0 commit comments

Comments
 (0)