This commit is contained in:
杨毅 2024-09-16 19:40:11 +08:00
commit 8653e329fb

View File

@ -1,23 +1,19 @@
# .NET Desktop
# Build and run tests for .NET Desktop or Windows classic desktop solutions.
# Add steps that publish symbols, save build artifacts, and more:
# https://docs.microsoft.com/azure/devops/pipelines/apps/windows/dot-net
# Starter pipeline
# Start with a minimal pipeline that you can customize to build and deploy your code.
# Add steps that build, run tests, deploy, and more:
# https://aka.ms/yaml
variables: # pipeline-level
branch: 'azure_branch'
trigger:
- master
pool:
vmImage: 'windows-latest'
variables:
solution: '*.sln'
buildPlatform: 'Any CPU'
buildConfiguration: 'Release'
vmImage: 'ubuntu-latest'
steps:
- task: NuGetToolInstaller@1
- script: |
git remote add github https://<username>:<password>@github.com/Brian-Ding/ant-design-blazor.git
git checkout -b $(branch)
git push -u github $(branch)
- task: NuGetCommand@2
inputs:
restoreSolution: '$(solution)'
displayName: 'Command Line Script'