Increase gh api page size

This commit is contained in:
Caelan Sayler
2025-06-15 14:38:29 +01:00
committed by Caelan
parent bfd3722a69
commit b746959ea8

View File

@@ -65,7 +65,7 @@ runs:
Write-Host "Waiting for artifacts '$($artifactNames -join ', ')' to become available in workflow run $workflowRunId..."
while ($attempt -lt $maxAttempts -and $artifactsAvailable.Values -contains $false) {
$artifactsJson = gh api repos/$repository/actions/runs/$workflowRunId/artifacts
$artifactsJson = gh api "repos/$repository/actions/runs/$workflowRunId/artifacts?per_page=100"
$artifacts = $artifactsJson | ConvertFrom-Json
foreach ($artifactName in $artifactNames) {