-
Notifications
You must be signed in to change notification settings - Fork 0
/
azure-pipelines.yml
30 lines (27 loc) · 1.07 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
trigger:
- master
pool:
vmImage: 'Ubuntu-16.04'
variables:
buildConfiguration: 'Release'
steps:
- script: dotnet build --configuration $(buildConfiguration)
displayName: 'Build private API'
workingDirectory: maintenance-tracker-api
- script: dotnet publish --output '$(Build.ArtifactStagingDirectory)/maintenance-tracker-api'
displayName: 'Publish private API'
workingDirectory: maintenance-tracker-api
- task: PublishBuildArtifacts@1
inputs:
pathtoPublish: '$(Build.ArtifactStagingDirectory)/maintenance-tracker-api'
artifactName: 'maintenance-tracker-api'
- script: dotnet build --configuration $(buildConfiguration)
displayName: 'Build public API'
workingDirectory: maintenance-tracker-api-public
- script: dotnet publish --output '$(Build.ArtifactStagingDirectory)/maintenance-tracker-api-public'
displayName: 'Publish public API'
workingDirectory: maintenance-tracker-api-public
- task: PublishBuildArtifacts@1
inputs:
pathtoPublish: '$(Build.ArtifactStagingDirectory)/maintenance-tracker-api-public'
artifactName: 'maintenance-tracker-api-public'