-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Sync eng/common directory with azure-sdk-tools for PR 6530 (#26530)
Sync eng/common directory with azure-sdk-tools for PR Azure/azure-sdk-tools#6530 See [eng/common workflow](https://github.com/Azure/azure-sdk-tools/blob/main/eng/common/README.md#workflow) --------- Co-authored-by: Daniel Jurek <djurek@microsoft.com>
- Loading branch information
1 parent
9964a2f
commit c4c8d9a
Showing
2 changed files
with
42 additions
and
8 deletions.
There are no files selected for viewing
11 changes: 11 additions & 0 deletions
11
eng/common/pipelines/templates/steps/docsms-ensure-validation.yml
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,11 @@ | ||
steps: | ||
# Fail the build if any of the packages failed validation. Valid values are | ||
# "true" or "false" | ||
- pwsh: | | ||
if ('$(DocsMsPackagesAllValid)' -eq 'true') { | ||
Write-Host "All packages passed validation." | ||
} else { | ||
Write-Error "Some packages failed validation." | ||
exit 1 | ||
} | ||
displayName: Check package validation results |
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