Sync eng/common directory with azure-sdk-tools for PR 8283 (#5635)

* Update APIView script path to absolute path
This commit is contained in:
Azure SDK Bot 2024-05-17 09:58:56 -07:00 committed by GitHub
parent a315b29bab
commit d055b7a921
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -20,7 +20,7 @@ steps:
- ${{ if or(ne(parameters.GenerateApiReviewForManualOnly, true), eq(variables['Build.Reason'], 'Manual')) }}:
- task: Powershell@2
inputs:
filePath: ./eng/common/scripts/Create-APIReview.ps1
filePath: ${{ parameters.SourceRootPath }}/eng/common/scripts/Create-APIReview.ps1
arguments: >
-ArtifactList ('${{ convertToJson(parameters.Artifacts) }}' | ConvertFrom-Json | Select-Object Name)
-ArtifactPath ${{parameters.ArtifactPath}}
@ -34,7 +34,6 @@ steps:
-RepoName '$(Build.Repository.Name)'
-MarkPackageAsShipped $${{parameters.MarkPackageAsShipped}}
pwsh: true
workingDirectory: ${{ parameters.SourceRootPath }}
displayName: Create API Review
condition: >-
and(