From 88a20eeafa308ee6063257faa96d2abb739770ba Mon Sep 17 00:00:00 2001 From: Baudin999 Date: Sat, 28 Dec 2019 21:17:27 +0100 Subject: [PATCH] Update azure-pipelines.yml for Azure Pipelines Added a publish command to the pipeline --- azure-pipelines.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 52c77fe..2f1079d 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -21,6 +21,14 @@ steps: displayName: 'dotnet build $(buildConfiguration)' - script: dotnet test displayName: 'dotnet test' +- task: DotNetCoreCLI@2 + inputs: + command: 'publish' + publishWebProjects: false + projects: './CLI' + arguments: '-c Release --runtime "linux-x64" --self-contained -o $(build.artifactstagingdirectory)' + zipAfterPublish: false + modifyOutputPath: false - task: PublishBuildArtifacts@1 displayName: 'Publish Artifact: drop' inputs: