diff --git a/eng/Version.Details.xml b/eng/Version.Details.xml index 26dcec672ba..47db8b13f19 100644 --- a/eng/Version.Details.xml +++ b/eng/Version.Details.xml @@ -67,17 +67,17 @@ - + https://github.com/dotnet/arcade - df7cbf719bdc6a2e6dfc229542a53bf28a8d5180 + ee364d8268f86d6a2ab859f6cc82ca6f9d20b31c - + https://github.com/dotnet/arcade - df7cbf719bdc6a2e6dfc229542a53bf28a8d5180 + ee364d8268f86d6a2ab859f6cc82ca6f9d20b31c - + https://github.com/dotnet/arcade - df7cbf719bdc6a2e6dfc229542a53bf28a8d5180 + ee364d8268f86d6a2ab859f6cc82ca6f9d20b31c diff --git a/eng/Versions.props b/eng/Versions.props index 944fa4616b6..7f1718b997d 100644 --- a/eng/Versions.props +++ b/eng/Versions.props @@ -34,7 +34,7 @@ 9.0.19 - 9.0.0-beta.26429.3 + 9.0.0-beta.26431.8 17.8.43 diff --git a/eng/common/Get-GitHubAppToken.ps1 b/eng/common/Get-GitHubAppToken.ps1 index 9c7e3dcd6ac..ea776bd6bc2 100644 --- a/eng/common/Get-GitHubAppToken.ps1 +++ b/eng/common/Get-GitHubAppToken.ps1 @@ -110,19 +110,20 @@ $headers = @{ Write-Host "Looking up installation for '$InstallationOwner'..." try { - $installations = @() + $installations = [System.Collections.Generic.List[object]]::new() $page = 1 do { - # Assign the response before wrapping it in @(). PowerShell otherwise - # preserves a top-level JSON array as one nested pipeline object. $pageResponse = Invoke-RestMethod ` -Uri "https://api.github.com/app/installations?per_page=100&page=$page" ` -Headers $headers ` -Method Get - $pageInstallations = @($pageResponse) - $installations += $pageInstallations + $pageInstallationCount = 0 + foreach ($installation in $pageResponse) { + $installations.Add($installation) + $pageInstallationCount++ + } $page++ - } while ($pageInstallations.Count -eq 100) + } while ($pageInstallationCount -eq 100) } catch { Write-PipelineTelemetryError -Category 'Build' -Message "Failed to list GitHub App installations: $_. The signed JWT may be invalid or the App's Client ID ('$AppClientId') may be incorrect." diff --git a/global.json b/global.json index a55bef5a17d..6cb3433ae87 100644 --- a/global.json +++ b/global.json @@ -13,7 +13,7 @@ } }, "msbuild-sdks": { - "Microsoft.DotNet.Arcade.Sdk": "9.0.0-beta.26429.3", - "Microsoft.DotNet.Helix.Sdk": "9.0.0-beta.26429.3" + "Microsoft.DotNet.Arcade.Sdk": "9.0.0-beta.26431.8", + "Microsoft.DotNet.Helix.Sdk": "9.0.0-beta.26431.8" } }