Also skip downloading API Review artifact if it is not used (#4619)

This commit is contained in:
Daniel Jurek 2023-05-09 08:14:50 -07:00 committed by GitHub
parent d693099d44
commit c12aafebea
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -109,7 +109,9 @@ jobs:
condition: >-
and(
succeeded(),
ne(variables['Skip.CreateApiReview'], 'true'),eq(variables['System.TeamProject'], 'internal')
ne(variables['Skip.CreateApiReview'], 'true'),
ne(variables['Build.Reason'],'PullRequest'),
eq(variables['System.TeamProject'], 'internal')
)
- task: Powershell@2