Update azure-pipelines.yml for Azure Pipelines

This commit is contained in:
d-barker
2020-01-24 16:00:03 +08:00
parent 79f54b212f
commit 57c01c3297
+11 -2
View File
@@ -7,7 +7,7 @@ trigger:
- master - master
pool: pool:
vmImage: 'windows-latest' vmImage: 'ubuntu-latest'
variables: variables:
solution: '**/*.sln' solution: '**/*.sln'
@@ -29,7 +29,7 @@ steps:
- task: DotNetCoreCLI@2 - task: DotNetCoreCLI@2
inputs: inputs:
command: 'build' command: 'test'
projects: './test/AspNetCore.Identity.MongoDbCore.IntegrationTests/AspNetCore.Identity.MongoDbCore.IntegrationTests.csproj' projects: './test/AspNetCore.Identity.MongoDbCore.IntegrationTests/AspNetCore.Identity.MongoDbCore.IntegrationTests.csproj'
arguments: '--configuration $(buildConfiguration)' arguments: '--configuration $(buildConfiguration)'
@@ -41,6 +41,15 @@ steps:
arguments: '-p:NuspecFile=./src/AspnetCore.Identity.MongoDbCore.nuspec' arguments: '-p:NuspecFile=./src/AspnetCore.Identity.MongoDbCore.nuspec'
packDirectory: $(build.artifactStagingDirectory)/Nuget packDirectory: $(build.artifactStagingDirectory)/Nuget
nobuild: true nobuild: true
verbosityPack: 'Minimal'
- task: DotNetCoreCLI@2
inputs:
command: 'pack'
packagesToPack: '**/*.csproj'
nobuild: true
versioningScheme: 'off'
verbosityPack: 'Minimal'
- task: NuGetCommand@2 - task: NuGetCommand@2
inputs: inputs: