Skip to content

Commit

Permalink
Remove SkipDefaultCheckout parameter (#4128)
Browse files Browse the repository at this point in the history
  • Loading branch information
benbp authored Sep 14, 2022
1 parent 5dd557c commit c39db95
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions eng/common/pipelines/templates/steps/sparse-checkout.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c39db95

Please sign in to comment.