1 Star 0 Fork 8

laio/HyPlayer

forked from kengwang/HyPlayer 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
azure-pipelines.yml 2.47 KB
一键复制 编辑 原始数据 按行查看 历史
kengwang 提交于 2021-07-25 21:48 . UI: ExpandedPlayer - St.2
# Universal Windows Platform
# Build a Universal Windows Platform project using Visual Studio.
# Add steps that test and distribute an app, save build artifacts, and more:
# https://aka.ms/yaml
trigger:
- master
pool:
vmImage: 'windows-latest'
variables:
solution: 'HyPlayer.sln'
buildPlatform: 'x64|x86|ARM|ARM64'
buildConfiguration: 'Release'
appxPackageDir: '$(build.artifactStagingDirectory)\AppxPackages\\'
steps:
- checkout: self
submodules: true
- task: NuGetToolInstaller@1
- task: NuGetCommand@2
inputs:
restoreSolution: '$(solution)'
- task: DownloadSecureFile@1
name: signingCert
displayName: 'Download CA certificate'
inputs:
secureFile: 'HyPlayer.pfx'
- task: VSBuild@1
inputs:
platform: 'x64'
solution: '$(solution)'
configuration: '$(buildConfiguration)'
msbuildArgs: '/p:AppxBundlePlatforms="$(buildPlatform)"
/p:AppxPackageDir="$(appxPackageDir)"
/p:AppxBundle=Auto
/p:PackageCertificateThumbprint=""
/p:UapAppxPackageBuildMode=SideloadOnly
/p:AppxPackageSigningEnabled=true
/p:PackageCertificateKeyFile="$(signingCert.secureFilePath)"'
- task: CopyFiles@2
displayName: 'Copy Files to: $(build.artifactstagingdirectory)'
inputs:
SourceFolder: '$(system.defaultworkingdirectory)'
Contents: '**\bin\$(BuildConfiguration)\**'
TargetFolder: '$(build.artifactstagingdirectory)'
- task: PublishBuildArtifacts@1
displayName: 'Publish Artifact: drop'
inputs:
PathtoPublish: '$(build.artifactstagingdirectory)'
- task: ArchiveFiles@2
inputs:
rootFolderOrFile: '$(build.artifactstagingdirectory)/AppxPackages'
includeRootFolder: true
archiveType: 'zip'
archiveFile: '$(build.artifactstagingdirectory)/drop.zip'
replaceExistingArchive: true
verbose: true
- task: GitHubRelease@1
inputs:
gitHubConnection: 'github connection 1'
repositoryName: 'HyPlayer/HyPlayer'
action: 'edit'
target: '$(Build.SourceVersion)'
tag: 'azure-build'
title: 'Azure Build $(Build.BuildNumber)'
releaseNotesSource: 'inline'
releaseNotesInline: '> 这是 Azure DevOps 的自动编译,将会在每次Commit之后进行编译. 内容可能稳定,如非特别需要,请使用商店版. 使用此版本出现的问题概不负责'
assets: '$(Build.ArtifactStagingDirectory)/drop.zip'
isPreRelease: true
changeLogCompareToRelease: 'lastFullRelease'
changeLogType: 'commitBased'
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C#
1
https://gitee.com/laio45/HyPlayer.git
git@gitee.com:laio45/HyPlayer.git
laio45
HyPlayer
HyPlayer
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385