Skip to content

Commit c0d2a2c

Browse files
committed
Set up CI with Azure Pipelines
[skip ci]
1 parent f5621a5 commit c0d2a2c

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

azure-pipelines.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
# ASP.NET Core
2+
# Build and test ASP.NET Core projects targeting .NET Core.
3+
# Add steps that run tests, create a NuGet package, deploy, and more:
4+
# https://docs.microsoft.com/azure/devops/pipelines/languages/dotnet-core
5+
6+
trigger:
7+
- master
8+
9+
pool:
10+
vmImage: 'windows-latest'
11+
12+
variables:
13+
buildConfiguration: 'Release'
14+
15+
steps:
16+
- task: DotNetCoreCLI@2
17+
inputs:
18+
command: 'restore'
19+
projects: '**\*.csproj'
20+
feedsToUse: 'select'
21+
- script: dotnet build --configuration $(buildConfiguration)
22+
displayName: 'dotnet build $(buildConfiguration)'
23+
- task: PublishBuildArtifacts@1
24+
inputs:
25+
PathtoPublish: '$(Build.ArtifactStagingDirectory)'
26+
ArtifactName: 'drop'
27+
publishLocation: 'Container'

0 commit comments

Comments
 (0)