-
Notifications
You must be signed in to change notification settings - Fork 30
/
azure-pipelines.yml
39 lines (30 loc) · 1.51 KB
/
azure-pipelines.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# ASP.NET Core
trigger:
- master
pool:
vmImage: 'Ubuntu-16.04'
variables:
buildConfiguration: 'Release'
steps:
- task: UseDotNet@2
inputs:
version: '3.1.102'
- script: dotnet build --configuration $(buildConfiguration) ReusableComponents/ReusableComponents.sln
displayName: 'dotnet build $(buildConfiguration) ReusableComponents'
- script: dotnet publish --output $(Build.ArtifactStagingDirectory)/ReusableComponents ReusableComponents/ReusableComponents.sln
displayName: 'dotnet publish ReusableComponents'
- script: dotnet build --configuration $(buildConfiguration) MvvmPattern/MvvmPattern.sln
displayName: 'dotnet build $(buildConfiguration) MvvmPattern'
- script: dotnet publish --output $(Build.ArtifactStagingDirectory)/MvvmPattern MvvmPattern/MvvmPattern.sln
displayName: 'dotnet publish MvvmPattern'
- script: dotnet build --configuration $(buildConfiguration) LibrariesInterop/LibrariesInterop.sln
displayName: 'dotnet build $(buildConfiguration) LibrariesInterop'
- script: dotnet publish --output $(Build.ArtifactStagingDirectory)/LibrariesInterop LibrariesInterop/LibrariesInterop.sln
displayName: 'dotnet publish LibrariesInterop'
- script: dotnet build --configuration $(buildConfiguration) CodeBehind/CodeBehind.sln
displayName: 'dotnet build $(buildConfiguration) CodeBehind'
- script: dotnet publish --output $(Build.ArtifactStagingDirectory)/CodeBehind CodeBehind/CodeBehind.sln
displayName: 'dotnet publish CodeBehind'
- task: PublishBuildArtifacts@1
inputs:
ArtifactName: 'blazordist'