forked from mperdeck/LINQtoCSV
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathazure-pipelines.yml
50 lines (39 loc) · 1.06 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
trigger:
batch: true
branches:
include:
- master
pr:
branches:
include:
- master
variables:
DOTNET_SDK_VERSION: '8.x'
pool:
name: Global Roam Office Build-03
resources:
repositories:
- repository: templates
type: github
name: global-roam/devops-pipelines
endpoint: global-roam
steps:
- checkout: self
clean: true
- template: authentication/steps/package-managers-windows.yml@templates
- template: pipeline/steps/pr-workaround-before.yml@templates
- task: UseDotNet@2
displayName: 'Use .NET Core SDK $(DOTNET_SDK_VERSION)'
inputs:
version: '$(DOTNET_SDK_VERSION)'
- template: pipeline/steps/build-and-push-nuke-package.yml@templates
- task: PublishTestResults@2
displayName: Publish test results
inputs:
testResultsFormat: VSTest
testResultsFiles: '**/*.trx'
searchFolder: $(Common.TestResultsDirectory)
mergeTestResults: true
condition: and(always(), not(canceled()))
continueOnError: true
- template: pipeline/steps/pr-workaround-after.yml@templates