Skip to content

Commit 076895b

Browse files
azure-sdkhallipr
andauthored
Use better description for single repo sparse checkout (Azure#37144)
Co-authored-by: Patrick Hallisey <pahallis@microsoft.com>
1 parent ccb962f commit 076895b

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

eng/common/pipelines/templates/steps/sparse-checkout.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,10 @@ steps:
1717
- checkout: none
1818

1919
- task: PowerShell@2
20-
displayName: 'Sparse checkout repositories'
20+
${{ if eq(length(parameters.Repositories), 1) }}:
21+
displayName: 'Sparse checkout ${{ parameters.Repositories[0].Name }}'
22+
${{ else }}:
23+
displayName: 'Sparse checkout repositories'
2124
inputs:
2225
targetType: inline
2326
# Define this inline, because of the chicken/egg problem with loading a script when nothing

0 commit comments

Comments
 (0)