zoukankan      html  css  js  c++  java
  • Azure Pinelines Dotnet Build Script

    azure-pipelines.yml

    # ASP.NET Core (.NET Framework)
    # Build and test ASP.NET Core projects targeting the full .NET Framework.
    # Add steps that publish symbols, save build artifacts, and more:
    # https://docs.microsoft.com/azure/devops/pipelines/languages/dotnet-core
    
    trigger:
    - dev
    
    pool: 'Default'
    
    variables:
      solution: 'TestApp.sln'
      buildPlatform: 'x64'
      buildConfiguration: 'Debug'
    
    steps:
    
    - task: NuGetCommand@2
      displayName: 'Restore package'
      inputs:
        command: 'restore'
        restoreSolution: '${{variables.solution}}'
        feedsToUse: 'Config'
        nugetConfigPath: '$(Build.SourcesDirectory)
    uget.config'
    
    - task: DotNetCoreCLI@2
      displayName: 'Build Binary'
      inputs:
        command: 'build'
        projects: |
                TestApp/aspnet-core/src/TestApp.HttpApi.Host/TestApp.HttpApi.Host.csproj
        arguments: '--configuration $(buildConfiguration) '
    
    - task: CopyFiles@2
      inputs:
        targetFolder: '$(Build.ArtifactStagingDirectory)'    
    - task: PublishBuildArtifacts@1
    

      

  • 相关阅读:
    BSGS
    [AT1252] IOIOI カード占い
    [十二省联考2019]春节十二响
    [CF912E] Prime Gift
    CDQ分治
    [CF747F] Igor and Interesting Numbers
    [十二省联考2019]异或粽子
    51Nod 2128 前缀异或
    51Nod 3212 数字变位
    HDU 1106 排序
  • 原文地址:https://www.cnblogs.com/sui84/p/14219185.html
Copyright © 2011-2022 走看看