From 0814aea31c5399499bc214935e45ec4b1414dd2d Mon Sep 17 00:00:00 2001 From: Baudin999 Date: Sat, 28 Dec 2019 21:23:40 +0100 Subject: [PATCH] Update azure-pipelines.yml for Azure Pipelines Now wrapping everything into a zip file --- azure-pipelines.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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'