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
|
type: boolean
|
||||||
default: false
|
default: false
|
||||||
|
|
||||||
|
# Paths to sparse checkout
|
||||||
|
- name: SparseCheckoutPaths
|
||||||
|
type: object
|
||||||
|
default: []
|
||||||
|
|
||||||
extends:
|
extends:
|
||||||
template: /eng/pipelines/templates/stages/1es-redirect.yml
|
template: /eng/pipelines/templates/stages/1es-redirect.yml
|
||||||
parameters:
|
parameters:
|
||||||
|
@ -79,6 +84,8 @@ extends:
|
||||||
- job: Build
|
- job: Build
|
||||||
steps:
|
steps:
|
||||||
- template: /eng/common/pipelines/templates/steps/sparse-checkout.yml
|
- template: /eng/common/pipelines/templates/steps/sparse-checkout.yml
|
||||||
|
parameters:
|
||||||
|
Paths: ${{ parameters.SparseCheckoutPaths }}
|
||||||
|
|
||||||
- ${{ parameters.InitializationSteps }}
|
- ${{ parameters.InitializationSteps }}
|
||||||
|
|
||||||
|
@ -411,6 +418,8 @@ extends:
|
||||||
buildArtifactsPath: $(Pipeline.Workspace)/build_artifacts
|
buildArtifactsPath: $(Pipeline.Workspace)/build_artifacts
|
||||||
steps:
|
steps:
|
||||||
- template: /eng/common/pipelines/templates/steps/sparse-checkout.yml
|
- template: /eng/common/pipelines/templates/steps/sparse-checkout.yml
|
||||||
|
parameters:
|
||||||
|
Paths: ${{ parameters.SparseCheckoutPaths }}
|
||||||
|
|
||||||
- download: current
|
- download: current
|
||||||
artifact: build_artifacts
|
artifact: build_artifacts
|
||||||
|
|
Загрузка…
Ссылка в новой задаче