forked from mameolan/Avalonia.ExtendedToolkit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
azure-pipelines.yml
62 lines (43 loc) · 1.16 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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
# .NET core build pipeline
trigger:
- master
pool:
vmImage: 'windows-2019'
variables:
project: '**/*.csproj'
BuildConfiguration: 'Release'
XamlColorSchemeGeneratorVersion: ''
steps:
- task: NuGetToolInstaller@1
inputs:
versionSpec: '5.5.1'
- task: UseDotNet@2
inputs:
packageType: 'sdk'
version: '3.1.100'
workingDirectory: '$(System.DefaultWorkingDirectory)'
- task: DotNetCoreCLI@2
inputs:
command: 'restore'
projects: '**/*.csproj'
feedsToUse: 'select'
workingDirectory: '$(System.DefaultWorkingDirectory)'
- task: DotNetCoreCLI@2
inputs:
command: 'build'
projects: '**/*.csproj'
workingDirectory: '$(System.DefaultWorkingDirectory)'
arguments: '--configuration $(BuildConfiguration)'
- task: DotNetCoreCLI@2
inputs:
command: 'pack'
packagesToPack: '**/*.csproj'
nobuild: true
arguments: |
'--configuration $(BuildConfiguration) --output $(Build.ArtifactStagingDirectory) '
versioningScheme: 'byPrereleaseNumber'
- task: PublishBuildArtifacts@1
inputs:
PathtoPublish: '$(Build.ArtifactStagingDirectory)'
ArtifactName: 'drop'
publishLocation: 'Container'