From 97275cfee8e4a56a3054ad6bb17f32c8a21e335a Mon Sep 17 00:00:00 2001 From: Alicia Li Date: Fri, 30 Oct 2020 09:42:50 -0700 Subject: [PATCH] zip apiport binaries --- azure-pipelines/build-windows.yml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/azure-pipelines/build-windows.yml b/azure-pipelines/build-windows.yml index 960cac470..798bb3799 100644 --- a/azure-pipelines/build-windows.yml +++ b/azure-pipelines/build-windows.yml @@ -69,13 +69,22 @@ steps: Contents: '**\*.pdb' TargetFolder: $(Build.StagingDirectory)\symbols +- task: DotNetCoreCLI@2 + displayName: dotnet publish + inputs: + command: publish + publishWebProjects: false + projects: src/ApiPort/ApiPort/*.csproj + arguments: '--configuration $(BuildConfiguration) -f netcoreapp3.1 --output $(Build.StagingDirectory) --no-build' + zipAfterPublish: True + - publish: $(Build.StagingDirectory)\drop displayName: Publish drop artifact: drop-$(Agent.JobName) - publish: bin/$(BuildConfiguration)/ApiPort.Vsix/ApiPort.vsix - artifact: vsix displayName: Publishing VSIX + artifact: vsix - ${{ if eq(variables['system.collectionId'], '011b8bdf-6d56-4f87-be0d-0092136884d9') }}: - template: microbuild.after.yml