forked from Baseflow/XF-Material-Library
-
Notifications
You must be signed in to change notification settings - Fork 1
/
azure-pipelines.yml
46 lines (38 loc) · 930 Bytes
/
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
40
41
42
43
44
45
trigger:
batch: true
branches:
include:
- dev
paths:
exclude:
- README.md
pool:
vmImage: 'macOS-latest'
demands: msbuild
variables:
solution: '**/XF.Material (No Sample Project).sln'
buildConfiguration: 'Release'
outputDirectory: '$(build.artifactStagingDirectory)/$(BuildConfiguration)'
steps:
- task: NuGetToolInstaller@1
inputs:
versionSpec:
checkLatest: true
- task: NuGetCommand@2
inputs:
restoreSolution: '$(solution)'
- task: MSBuild@1
displayName: 'Build solution XF.Material (No Sample Project).sln'
inputs:
solution: '$(solution)'
configuration: '$(buildConfiguration)'
- task: NuGetCommand@2
inputs:
command: 'pack'
packagesToPack: 'XF.Material.nuspec'
versioningScheme: 'off'
- task: PublishBuildArtifacts@1
inputs:
PathtoPublish: '$(Build.ArtifactStagingDirectory)'
ArtifactName: 'drop'
publishLocation: 'Container'