File: verify-restapi-spec-location.yml

package info (click to toggle)
python-azure 20251014%2Bgit-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 766,472 kB
  • sloc: python: 6,314,744; ansic: 804; javascript: 287; makefile: 198; sh: 198; xml: 109
file content (25 lines) | stat: -rw-r--r-- 795 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
parameters:
- name: ServiceDirectory
  type: string
  default: ''
- name: PackageName
  type: string
  default: ''
- name: ArtifactLocation
  type: string
  default: ''

steps:
  - task: Powershell@2
    inputs:
      filePath: $(Build.SourcesDirectory)/eng/common/scripts/Verify-RestApiSpecLocation.ps1
      arguments: >
        -ServiceDirectory "${{ parameters.ServiceDirectory }}"
        -PackageName "${{ parameters.PackageName }}"
        -ArtifactLocation: "${{ parameters.ArtifactLocation }}"
      pwsh: true
      workingDirectory: $(Pipeline.Workspace)
    displayName: Verify REST API spec location for "${{ parameters.PackageName }}"
    env:
      GH_TOKEN: $(azuresdk-github-pat)
    condition: and(succeededOrFailed(), ne(variables['Skip.Verify-RestApiSpecLocation'], 'true'))