Add SparseCheckoutPaths to archetype-typespec-emitter.yml (#6215)
Co-authored-by: Wei Hu <huwe@microsoft.com>
This commit is contained in:
Родитель
99d0d9faca
Коммит
90cfad26ce
|
@ -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
|
||||
|
|
Загрузка…
Ссылка в новой задаче