diff --git a/scripts/run-build.ps1 b/scripts/run-build.ps1 index 79809e4c6..125a63aa9 100644 --- a/scripts/run-build.ps1 +++ b/scripts/run-build.ps1 @@ -72,7 +72,7 @@ $env:PATH = "$env:DOTNET_INSTALL_DIR\cli\bin;$env:PATH" # Restore the build scripts Write-Host "Restoring Build Script projects..." pushd $PSScriptRoot -dotnet restore +dotnet restore --disable-parallel if($LASTEXITCODE -ne 0) { throw "Failed to restore" } popd diff --git a/scripts/run-build.sh b/scripts/run-build.sh index 4de0d15a1..63f28ea7a 100755 --- a/scripts/run-build.sh +++ b/scripts/run-build.sh @@ -102,7 +102,7 @@ fi echo "Restoring Build Script projects..." ( cd $DIR - dotnet restore + dotnet restore --disable-parallel ) # Build the builder