-
-
Notifications
You must be signed in to change notification settings - Fork 520
/
azure-pipelines.yml
59 lines (50 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
56
57
58
59
trigger:
branches:
include:
- 'master'
- 'develop'
- 'refs/tags/*'
paths:
include:
- '*'
exclude:
- appveyor.yml
- Changelog.md
- Readme.md
pool:
vmImage: 'windows-2019'
steps:
- task: UseDotNet@2
displayName: 'Use .NET Core SDK 3.1'
inputs:
packageType: sdk
version: 3.1.416
- task: UseDotNet@2
displayName: 'Use .NET Core SDK 6.0'
inputs:
packageType: sdk
version: 6.0.420
- task: UseDotNet@2
displayName: 'Use .NET Core SDK (json)'
inputs:
packageType: sdk
useGlobalJson: true
- powershell: .\build.ps1 CI --ArtifactsDirectory '$(Build.ArtifactStagingDirectory)'
displayName: CI-Build
- task: PublishTestResults@2
displayName: Save test results
condition: succeededOrFailed()
inputs:
testRunner: VSTest
testResultsFiles: '**/*.trx'
#- task: PublishBuildArtifacts@1
# displayName: Save package artifacts
# inputs:
# PathtoPublish: $(Build.ArtifactStagingDirectory)
# ArtifactName: Package
#- task: NuGetCommand@2
# displayName: Publish to internal nuget feed
# inputs:
# command: push
# nuGetFeedType: internal
# publishVstsFeed: Fluent.Ribbon