Skip to content

Commit

Permalink
Use better description for single repo sparse checkout (Azure#39209)
Browse files Browse the repository at this point in the history
Co-authored-by: Patrick Hallisey <[email protected]>
  • Loading branch information
2 people authored and matthohn-msft committed Oct 27, 2023
1 parent 857dfce commit 8b0892a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion eng/common/pipelines/templates/steps/sparse-checkout.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8b0892a

Please sign in to comment.