1 Star 0 Fork 1

huangjunjiex/avalonia-dotnet-templates

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
azure-pipelines.yml 1.22 KB
一键复制 编辑 原始数据 按行查看 历史
pool:
vmImage: 'windows-latest'
steps:
- task: UseDotNet@2
displayName: 'Use .NET SDK'
inputs:
packageType: 'sdk'
version: 8.0.100
- task: DotNetCoreCLI@2
displayName: 'Pack Templates'
inputs:
packagesToPack: 'Avalonia.Templates.csproj'
command: pack
outputDir: '$(Build.ArtifactStagingDirectory)/NuGet'
verbosityPack: normal
- task: CmdLine@2
displayName: 'Install templates'
inputs:
script: 'dotnet new install $(Build.ArtifactStagingDirectory)/NuGet/*.nupkg'
- task: CmdLine@2
displayName: 'Install workload'
inputs:
script: 'dotnet workload install android ios wasm-tools wasm-experimental'
- task: PowerShell@2
displayName: 'Run Tests'
inputs:
filePath: 'tests/build-test.ps1'
failOnStdError: true
workingDirectory: 'tests'
- task: PublishBuildArtifacts@1
displayName: 'Publish Build Artifacts'
inputs:
pathtoPublish: '$(Build.ArtifactStagingDirectory)/NuGet'
artifactName: 'NuGet'
condition: succeeded()
- task: PublishBuildArtifacts@1
displayName: 'Publish Test Binlog Artifacts'
inputs:
pathtoPublish: 'binlog/test.binlog'
artifactName: 'TestBinlog'
condition: failed()
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C#
1
https://gitee.com/huangjunjiex/avalonia-dotnet-templates.git
[email protected]:huangjunjiex/avalonia-dotnet-templates.git
huangjunjiex
avalonia-dotnet-templates
avalonia-dotnet-templates
master

搜索帮助