Use better description for single repo sparse checkout (#5028)

Co-authored-by: Patrick Hallisey <pahallis@microsoft.com>
This commit is contained in:
Azure SDK Bot 2023-10-12 10:53:48 -07:00 committed by GitHub
parent 716129f5c0
commit c9f3b9485e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -17,7 +17,10 @@ steps:
- checkout: none
- task: PowerShell@2
displayName: 'Sparse checkout repositories'
${{ if eq(length(parameters.Repositories), 1) }}:
displayName: 'Sparse checkout ${{ parameters.Repositories[0].Name }}'
${{ else }}:
displayName: 'Sparse checkout repositories'
inputs:
targetType: inline
# Define this inline, because of the chicken/egg problem with loading a script when nothing