From 34c553fc09835cf1e5211747128675855d11867c Mon Sep 17 00:00:00 2001 From: Alexander Luzgarev Date: Sun, 14 Oct 2018 16:51:17 +0200 Subject: [PATCH] Fix NuGet pack command --- azure-pipelines.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index cd75f6f..6654f3b 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -20,11 +20,11 @@ steps: projects: '**/*Tests/*.csproj' arguments: '--configuration $(buildConfiguration)' -- task: DotNetCoreCLI@2 - displayName: 'dotnet publish $(buildConfiguration)' +- task: NuGetCommand@2 + displayName: 'nuget pack' inputs: - command: publish - arguments: '--configuration $(BuildConfiguration) --output $(Build.ArtifactStagingDirectory)' + command: pack + packagesToPack: '**/*.csproj' - task: PublishBuildArtifacts@1 displayName: 'publish artifacts'