-
Notifications
You must be signed in to change notification settings - Fork 9
/
azure-pipelines.yml
46 lines (38 loc) · 1022 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:
- master
pool:
name: Hosted Windows 2019 with VS2019
demands:
- msbuild
- visualstudio
steps:
- checkout: self
submodules: recursive
- task: NuGetToolInstaller@1
displayName: 'Use NuGet '
- task: VSBuild@1
displayName: 'Build solution Microsoft.VisualStudio.MiniEditor.sln'
inputs:
solution: Microsoft.VisualStudio.MiniEditor.sln
msbuildArgs: /restore
configuration: Release
- task: CopyFiles@2
displayName: 'Copy NuGets'
inputs:
SourceFolder: Microsoft.VisualStudio.MiniEditor/bin/Release
Contents: |
**/*.nupkg
**/*.snupkg
TargetFolder: '$(Build.ArtifactStagingDirectory)'
- task: NuGetCommand@2
displayName: 'NuGet push'
inputs:
command: push
publishVstsFeed: '6f96278a-705c-4bdc-8ea7-5e61d0ae3a85'
allowPackageConflicts: true
continueOnError: true
condition: and(succeeded(), ne(variables['system.pullrequest.isfork'], true))
- task: PublishBuildArtifacts@1
displayName: 'Publish Artifact'
inputs:
ArtifactName: nugets