Fix build pipelines (#999)

pull/1004/head v2.12.0
Next Turn 2023-01-19 22:03:31 +08:00 committed by GitHub
parent 9bfc034807
commit eef5bade59
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 1 deletions

View File

@ -31,7 +31,6 @@ steps:
inputs:
packageType: sdk
version: 6.x
includePreviewVersions: true
- task: DotNetCoreCLI@2
displayName: Build
inputs:
@ -44,6 +43,10 @@ steps:
displayName: Build
- script: dotnet test -c $(BuildConfiguration) --collect "XPlat Code Coverage" --no-build src\WinSW.Tests\WinSW.Tests.csproj
displayName: Test
- task: NuGetToolInstaller@1
displayName: Install NuGet
inputs:
versionSpec: 6.x
- task: NuGetCommand@2
displayName: Pack
inputs: