Skip to content
This repository has been archived by the owner on Feb 16, 2021. It is now read-only.

Commit

Permalink
打包发布,便于往Github发布
Browse files Browse the repository at this point in the history
  • Loading branch information
Communist Fish committed May 21, 2019
1 parent bd6858c commit 7193034
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,13 @@ steps:
configuration: '$(buildConfiguration)'
msbuildArgs: '/p:AppxBundlePlatforms="$(buildPlatform)" /p:AppxPackageDir="$(appxPackageDir)" /p:AppxBundle=Always /p:UapAppxPackageBuildMode=Sideload'

- task: CopyFiles@2
displayName: 'Copy Files to: $(build.artifactstagingdirectory)'
- task: ArchiveFiles@2
inputs:
SourceFolder: '$(system.defaultworkingdirectory)'
Contents: '**\bin\$(BuildConfiguration)\**'
TargetFolder: '$(build.artifactstagingdirectory)'
rootFolderOrFile: '$(Build.BinariesDirectory)'
includeRootFolder: true
archiveType: 'zip'
archiveFile: '$(build.artifactstagingdirectory)/Package.zip'
replaceExistingArchive: true

- task: PublishBuildArtifacts@1
displayName: 'Publish Artifact: Package'
Expand Down

0 comments on commit 7193034

Please sign in to comment.