diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 4fa8f71..e0b818a 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -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 - -trigger: -- master - -pool: - vmImage: 'windows-latest' - -variables: - solution: '*.sln' - buildPlatform: 'Any CPU' - buildConfiguration: 'Release' - -steps: -- task: NuGetToolInstaller@1 - -- task: NuGetCommand@2 - inputs: - restoreSolution: '$(solution)' - +# 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: 'ubuntu-latest' + steps: + - script: | + git remote add github https://:@github.com/Brian-Ding/ant-design-blazor.git + git checkout -b $(branch) + git push -u github $(branch) + + + displayName: 'Command Line Script' \ No newline at end of file