diff --git a/eng/common/pipelines/templates/steps/sparse-checkout.yml b/eng/common/pipelines/templates/steps/sparse-checkout.yml index 39d5a7bff..cee1fbb2d 100644 --- a/eng/common/pipelines/templates/steps/sparse-checkout.yml +++ b/eng/common/pipelines/templates/steps/sparse-checkout.yml @@ -8,16 +8,12 @@ parameters: - Name: $(Build.Repository.Name) Commitish: $(Build.SourceVersion) WorkingDirectory: $(System.DefaultWorkingDirectory) - # NOTE: SkipDefaultCheckout is being deprecated in favor of SkipCheckoutNone - - name: SkipDefaultCheckout - type: boolean - default: false - name: SkipCheckoutNone type: boolean default: false steps: - - ${{ if and(not(parameters.SkipDefaultCheckout), not(parameters.SkipCheckoutNone)) }}: + - ${{ if not(parameters.SkipCheckoutNone) }}: - checkout: none - task: PowerShell@2