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