* Bring changes from JS docs metadata * Move business logic inside Update-DocsMsMetadata.ps1 * Update with the latest changes in JS PR * Update from latest PR feedback * Add check for empty path to prevent crashes when creating relative paths Co-authored-by: Daniel Jurek <djurek@microsoft.com>
11 lines
371 B
YAML
11 lines
371 B
YAML
steps:
|
|
- pwsh: |
|
|
if ($IsWindows) {
|
|
REG ADD HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FileSystem /f /v LongPathsEnabled /t REG_DWORD /d 1
|
|
git config --system core.longpaths true
|
|
}
|
|
else {
|
|
Write-Host "This script is not executing on Windows, skipping registry modification."
|
|
}
|
|
displayName: Enable long path support if necessary
|