Add SparseCheckoutPaths to archetype-typespec-emitter.yml (#2972)
Co-authored-by: Wei Hu <huwe@microsoft.com>
This commit is contained in:
Родитель
c8d6644af6
Коммит
8a083b8594
|
@ -62,6 +62,11 @@ parameters:
|
|||
type: boolean
|
||||
default: false
|
||||
|
||||
# Paths to sparse checkout
|
||||
- name: SparseCheckoutPaths
|
||||
type: object
|
||||
default: []
|
||||
|
||||
extends:
|
||||
template: /eng/pipelines/templates/stages/1es-redirect.yml
|
||||
parameters:
|
||||
|
@ -79,6 +84,8 @@ extends:
|
|||
- job: Build
|
||||
steps:
|
||||
- template: /eng/common/pipelines/templates/steps/sparse-checkout.yml
|
||||
parameters:
|
||||
Paths: ${{ parameters.SparseCheckoutPaths }}
|
||||
|
||||
- ${{ parameters.InitializationSteps }}
|
||||
|
||||
|
@ -411,7 +418,9 @@ extends:
|
|||
buildArtifactsPath: $(Pipeline.Workspace)/build_artifacts
|
||||
steps:
|
||||
- template: /eng/common/pipelines/templates/steps/sparse-checkout.yml
|
||||
|
||||
parameters:
|
||||
Paths: ${{ parameters.SparseCheckoutPaths }}
|
||||
|
||||
- download: current
|
||||
artifact: build_artifacts
|
||||
displayName: Download build artifacts
|
||||
|
|
Загрузка…
Ссылка в новой задаче