File: docsms-ensure-validation.yml

package info (click to toggle)
python-azure 20250603%2Bgit-1
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 851,724 kB
  • sloc: python: 7,362,925; ansic: 804; javascript: 287; makefile: 195; sh: 145; xml: 109
file content (12 lines) | stat: -rw-r--r-- 483 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
steps:
# Fail the build if any of the packages failed validation. Valid values are
# "true" or "false". This step will skip if $(DocsMsPackagesAllValid) is not set
- 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
  condition: and(succeeded(), ne(variables['DocsMsPackagesAllValid'], ''))