Skip to content

Commit

Permalink
Fix the issue when checking help examples in CI pipeline (#21620)
Browse files Browse the repository at this point in the history
* update

* update
  • Loading branch information
wyunchi-ms authored Apr 21, 2023
1 parent a745e49 commit 0cb6ec1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .ci-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@
"phases": [
"build:module",
"help:module",
"example:module"
"help-example:module"
]
},
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ if ($PSCmdlet.ParameterSetName -eq "Markdown") {
}
foreach ($_ in Get-ChildItem $MarkdownPath -Recurse:$Recurse) {
# Filter the .md of overview in "\help\"
if ((Get-Item -Path $_.FullName).Directory.Name -eq "help" -and $_.FullName -cmatch ".*\.md" -and $_.BaseName -cmatch "^[A-Z][a-z]+-([A-Z][a-z0-9]*)+$") {
if (((Get-Item -Path $_.FullName).Directory.Name -eq "help" -or (Get-Item -Path $_.FullName).Directory.Name -eq "docs") -and $_.FullName -cmatch ".*\.md" -and $_.BaseName -cmatch "^[A-Z][a-z]+-([A-Z][a-z0-9]*)+$") {
if ((Get-Item -Path $_.FullName).Directory.Parent.Name -eq "netcoreapp3.1") {
continue
}
Expand Down

0 comments on commit 0cb6ec1

Please sign in to comment.