Fix build pipelines

pull/999/head
Next Turn 2023-01-19 21:52:03 +08:00
parent 9bfc034807
commit 3e0b6e8a28
No known key found for this signature in database
GPG Key ID: 6A02A6770B9A88A0
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: