azure-pipelines.yml 660 B

1234567891011121314151617181920212223
  1. # Build ASP.NET Core project using Azure Pipelines
  2. # https://docs.microsoft.com/azure/devops/pipelines/languages/dotnet-core?view=vsts
  3. pool:
  4. vmImage: 'Ubuntu 16.04'
  5. variables:
  6. buildConfiguration: 'Release'
  7. steps:
  8. - script: |
  9. dotnet build --configuration $(buildConfiguration)
  10. dotnet publish --configuration $(buildConfiguration) --output $BUILD_ARTIFACTSTAGINGDIRECTORY
  11. - task: DotNetCoreCLI@2
  12. inputs:
  13. command: publish
  14. arguments: '--configuration $(buildConfiguration) --output $(Build.ArtifactStagingDirectory)'
  15. publishWebProjects: false
  16. modifyOutputPath: true
  17. zipAfterPublish: true
  18. - task: PublishBuildArtifacts@1