forked from dotnet/aspnet-api-versioning
-
Notifications
You must be signed in to change notification settings - Fork 0
/
azure-pipelines.yml
49 lines (43 loc) · 879 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
46
47
48
49
trigger:
branches:
include:
- main
- release/*
paths:
exclude:
- .config
- .devcontainer
- .github
- .vscode
- docs
- .vsconfig
- LICENSE.txt
- logo.svg
- README.md
pr:
- main
- release/*
# build at least once a month so the build badge is up-to-date
schedules:
- cron: '0 0 1 * *'
displayName: Monthly build
branches:
include:
- main
always: true
pool:
vmImage: windows-latest
variables:
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
DOTNET_CLI_TELEMETRY_OPTOUT: true
steps:
- template: build/steps-ci.yml
parameters:
solution: $(Solution)
configuration: $(BuildConfiguration)
- ${{ if eq(variables['Build.Reason'], 'Manual') }}:
- template: build/steps-release.yml
parameters:
solution: $(Solution)
configuration: $(BuildConfiguration)
versionSuffix: $(VersionSuffix)