Skip to content

Commit

Permalink
Remove SkipDefaultCheckout parameter (Azure#19121)
Browse files Browse the repository at this point in the history
Co-authored-by: Ben Broderick Phillips <[email protected]>
  • Loading branch information
azure-sdk and benbp authored Sep 14, 2022
1 parent 523337c commit 9c666b1
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 9c666b1

Please sign in to comment.