Skip to content

Commit

Permalink
Fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
yufeih committed Mar 28, 2022
1 parent 5785467 commit b13923f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
packageType: sdk
version: 2.1.x # for ESRPCodeSigning

- script: dotnet test -c Release
- powershell: build.ps1
displayName: dotnet test

- powershell: |
Expand Down
2 changes: 1 addition & 1 deletion build.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@ Remove-Item drop -Force -Recurse -ErrorAction Ignore
dotnet pack src/yunit -c Release -o $PSScriptRoot/drop
dotnet test -c Release
dotnet test test/yunit.nuget.test -c NuGetTest
if (-not (Test-Path -Path "$PSScriptRoot\test\yunit.nuget.test\bin\Release\net5.0\foo")) {
if (-not (Test-Path -Path "$PSScriptRoot\test\yunit.nuget.test\bin\Release\net6.0\foo")) {
throw 'yunit.nuget.test failed'
}

0 comments on commit b13923f

Please sign in to comment.