Forked from jpvelasco/SQLDatabaseYAMLBuildConfiguration.yml
Last active
May 8, 2022 08:20
-
-
Save EitanBlumin/d9e08c8b1df6d8acd543d3b4689382d7 to your computer and use it in GitHub Desktop.
SQL YAML Build Configuration for Azure Pipelines
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# SQL Database Project Build Configuration | |
trigger: | |
- master | |
pool: | |
vmImage: 'VS2017-Win2016' | |
variables: | |
solution: '**/*.sln' | |
buildPlatform: 'Any CPU' | |
buildConfiguration: 'Release' | |
steps: | |
- task: VSBuild@1 | |
inputs: | |
solution: '$(solution)' | |
platform: '$(buildPlatform)' | |
configuration: '$(buildConfiguration)' | |
- task: CopyFiles@2 | |
displayName: 'Copy Files to: $(build.artifactstagingdirectory)' | |
inputs: | |
SourceFolder: '$(system.defaultworkingdirectory)' | |
Contents: '**\bin\$(BuildConfiguration)\**' | |
TargetFolder: '$(build.artifactstagingdirectory)' | |
- task: PublishBuildArtifacts@1 | |
displayName: 'Publish artifacts' | |
inputs: | |
PathtoPublish: $(build.artifactstagingdirectory) | |
ArtifactName: 'PublishBuildArtifacts' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment