diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 2f1079d..f1a74dd 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -15,6 +15,7 @@ variables: steps: - task: UseDotNet@2 + displayName: 'Select right dotnet version' inputs: version: '3.0.x' - script: dotnet build --configuration $(buildConfiguration) @@ -22,12 +23,13 @@ steps: - script: dotnet test displayName: 'dotnet test' - task: DotNetCoreCLI@2 + displayName: 'dotnet publish' inputs: command: 'publish' publishWebProjects: false projects: './CLI' arguments: '-c Release --runtime "linux-x64" --self-contained -o $(build.artifactstagingdirectory)' - zipAfterPublish: false + zipAfterPublish: true modifyOutputPath: false - task: PublishBuildArtifacts@1 displayName: 'Publish Artifact: drop'