Skip to content

Commit 6d5b449

Browse files
committed
fix(ci): Invoke-MSBuild fails since there is not project.json
1 parent cb71784 commit 6d5b449

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

Build.ps1

+4-1
Original file line numberDiff line numberDiff line change
@@ -54,11 +54,14 @@ EnsurePsbuildInstalled
5454

5555
exec { & dotnet restore }
5656

57-
Invoke-MSBuild
57+
#Invoke-MSBuild
5858

5959
$revision = @{ $true = $env:APPVEYOR_BUILD_NUMBER; $false = 1 }[$env:APPVEYOR_BUILD_NUMBER -ne $NULL];
6060
$revision = "{0:D4}" -f [convert]::ToInt32($revision, 10)
6161

62+
exec { & dotnet build .\src\JsonApiDotNetCore -c Release }
63+
exec { & dotnet build .\test\JsonApiDotNetCoreExampleTests -c Release }
64+
6265
exec { & dotnet test .\test\JsonApiDotNetCoreExampleTests -c Release }
6366

6467
exec { & dotnet pack .\src\JsonApiDotNetCore -c Release -o .\artifacts --version-suffix=$revision }

0 commit comments

Comments
 (0)