1steps: 2- pwsh: | 3 if ($IsWindows) { 4 REG ADD HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FileSystem /f /v LongPathsEnabled /t REG_DWORD /d 1 5 git config --system core.longpaths true 6 } 7 else { 8 Write-Host "This script is not executing on Windows, skipping registry modification." 9 } 10 displayName: Enable long path support if necessary