Skip to content

Commit d616f8c

Browse files
committed
Work CI-CD
- Tidy-up pipeline yaml - Move MV image to windows latest.
1 parent 430a955 commit d616f8c

File tree

1 file changed

+21
-5
lines changed

1 file changed

+21
-5
lines changed

azure-pipelines.yml

Lines changed: 21 additions & 5 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, CHANGELOG.md, CODE_OF_CONDUCT.md, LICENSE.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:
@@ -19,7 +36,7 @@ resources:
1936
endpoint: nanoframework
2037

2138
pool:
22-
vmImage: 'windows-2019'
39+
vmImage: 'windows-latest'
2340

2441
variables:
2542
DOTNET_NOLOGO: true
@@ -43,4 +60,3 @@ steps:
4360
status: 'failure'
4461
webhookUrl: '$(DiscordWebhook)'
4562
message: ''
46-

0 commit comments

Comments
 (0)