mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-19 08:08:39 +01:00
* Run our build scripts directly as typescript #277567 Follow up on #276864 For #277526 * Remove a few more ts-node references * Fix linux and script reference * Remove `_build-script` ref * Fix script missing closing quote * use type only import * Fix export * Make sure to run copy-policy-dto * Make sure we run the copy-policy-dto script * Enable `verbatimModuleSyntax` * Pipelines fixes * Try adding explicit ext to path * Fix bad edit * Revert extra `--` --------- Co-authored-by: João Moreno <joaomoreno@users.noreply.github.com>
25 lines
921 B
YAML
25 lines
921 B
YAML
steps:
|
|
- pwsh: mkdir .build -ea 0
|
|
condition: and(succeeded(), contains(variables['Agent.OS'], 'windows'))
|
|
displayName: Create .build folder
|
|
|
|
- script: mkdir -p .build
|
|
condition: and(succeeded(), not(contains(variables['Agent.OS'], 'windows')))
|
|
displayName: Create .build folder
|
|
|
|
- script: node build/azure-pipelines/common/computeBuiltInDepsCacheKey.ts > .build/builtindepshash
|
|
displayName: Prepare built-in extensions cache key
|
|
|
|
- task: Cache@2
|
|
inputs:
|
|
key: '"builtin-extensions" | .build/builtindepshash'
|
|
path: .build/builtInExtensions
|
|
cacheHitVar: BUILTIN_EXTENSIONS_RESTORED
|
|
displayName: Restore built-in extensions cache
|
|
|
|
- script: node build/lib/builtInExtensions.ts
|
|
env:
|
|
GITHUB_TOKEN: "$(github-distro-mixin-password)"
|
|
condition: and(succeeded(), ne(variables.BUILTIN_EXTENSIONS_RESTORED, 'true'))
|
|
displayName: Download built-in extensions
|