Skip to content

Commit 87c04c9

Browse files
committed
Work CI-CD
- Update pipeline yaml to latest pattern. - Migrate VM version to windows-latest. ***NO_CI***
1 parent b1b48ec commit 87c04c9

File tree

1 file changed

+23
-6
lines changed

1 file changed

+23
-6
lines changed

azure-pipelines.yml

Lines changed: 23 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,27 @@
1+
# Copyright (c) .NET Foundation and Contributors
2+
# See LICENSE file in the project root for full license information.
3+
14
trigger:
25
branches:
3-
include: [main, develop, "release-*" ]
6+
include:
7+
- main
8+
- develop
9+
- release-*
410
paths:
5-
exclude: [README.md, LICENSE.md, CHANGELOG.md, CODE_OF_CONDUCT.md, NuGet.Config, .github_changelog_generator, .gitignore]
11+
exclude:
12+
- .github_changelog_generator
13+
- .gitignore
14+
- CHANGELOG.md
15+
- CODE_OF_CONDUCT.md
16+
- LICENSE.md
17+
- README.md
18+
- NuGet.Config
19+
- assets/*
20+
- config/*
21+
- .github/*
622
tags:
7-
include: ["v*"]
23+
include:
24+
- v*
825

926
# PR always trigger build
1027
pr:
@@ -28,7 +45,7 @@ jobs:
2845
eq(variables['StartReleaseCandidate'], 'true')
2946
)
3047
pool:
31-
vmImage: 'windows-2019'
48+
vmImage: 'windows-latest'
3249

3350
variables:
3451
DOTNET_NOLOGO: true
@@ -156,7 +173,7 @@ jobs:
156173
- Build_mscorlib
157174

158175
pool:
159-
vmImage: 'windows-2019'
176+
vmImage: 'windows-latest'
160177

161178
variables:
162179
DOTNET_NOLOGO: true
@@ -211,7 +228,7 @@ jobs:
211228
)
212229
213230
pool:
214-
vmImage: 'windows-2019'
231+
vmImage: 'windows-latest'
215232

216233
steps:
217234

0 commit comments

Comments
 (0)