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'))
|