Skip to content
This repository has been archived by the owner on Jul 15, 2023. It is now read-only.

Commit

Permalink
Merge pull request #942 from microsoft/yamlzipbeforepublish
Browse files Browse the repository at this point in the history
Zip Apiport binaries
  • Loading branch information
Lxiamail authored Oct 30, 2020
2 parents 6d5b655 + 97275cf commit ac18673
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion azure-pipelines/build-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ac18673

Please sign in to comment.