Sync eng/common directory with azure-sdk-tools for PR 1551 (#2104)

* make -checkout: none an optional phase

Co-authored-by: scbedd <45376673+scbedd@users.noreply.github.com>
This commit is contained in:
Azure SDK Bot 2021-04-12 17:01:50 -07:00 committed by GitHub
parent 05b73d3232
commit cf071db26a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -8,9 +8,13 @@ parameters:
- Name: $(Build.Repository.Name)
Commitish: $(Build.SourceVersion)
WorkingDirectory: $(System.DefaultWorkingDirectory)
- name: SkipDefaultCheckout
type: boolean
default: false
steps:
- checkout: none
- ${{ if not(parameters.SkipDefaultCheckout) }}:
- checkout: none
- ${{ each repo in parameters.Repositories }}:
- pwsh: |