-
Notifications
You must be signed in to change notification settings - Fork 95
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Replaces Azure/azure-sdk-for-python#17999 for use in all language repos.
- Loading branch information
Showing
2 changed files
with
542 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
parameters: | ||
- name: ServiceDirectory | ||
type: string | ||
default: not-specified | ||
- name: ScriptDirectory | ||
type: string | ||
default: eng/common/scripts | ||
- name: Condition | ||
type: boolean | ||
default: succeeded() | ||
|
||
steps: | ||
- pwsh: | | ||
# If the last path segment is an absolute path it will be used entirely. | ||
$root = [System.IO.Path]::Combine('$(Build.SourcesDireectory)', 'sdk', '${{ parameters.ServiceDirectory }}') | ||
Get-ChildItem $root -Filter *.md -Recurse | ${{ parameters.ScriptDirectory }}\Test-SampleMetadata.ps1 -AllowParentProducts | ||
displayName: Verify sample metadata | ||
workingDirectory: $(Build.SourcesDirectory) | ||
condition: ${{ parameters.Condition }} |
Oops, something went wrong.