Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 7 additions & 14 deletions eng/common/pipelines/templates/archetype-typespec-emitter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -248,11 +248,7 @@ extends:
jobs:
- job: Initialize
steps:
- template: /eng/common/pipelines/templates/steps/sparse-checkout.yml
parameters:
Paths:
- "/*"
- "!SessionRecords"
- checkout: self

- task: UseNode@1
displayName: 'Install Node.js'
Expand Down Expand Up @@ -325,15 +321,12 @@ extends:
matrixArtifactsPath: $(Pipeline.Workspace)/matrix_artifacts
AzureSdkRepoName: $[format('azure-sdk/{0}', split(variables['Build.Repository.Name'], '/')[1])]
steps:
- template: /eng/common/pipelines/templates/steps/sparse-checkout.yml
parameters:
Paths:
- "/*"
- "!SessionRecords"
Repositories:
- Name: $(AzureSdkRepoName)
Commitish: $(branchName)
WorkingDirectory: $(System.DefaultWorkingDirectory)
- checkout: self
- pwsh: |
git remote add azure-sdk https://github.com/$(AzureSdkRepoName).git
git fetch azure-sdk $(branchName)
git switch $(branchName)
displayName: 'Checkout PR branch $(branchName)'

- task: UseNode@1
displayName: 'Install Node.js'
Expand Down