ci builds update to pick patch

pull/81/head
Aparna Jyothi 3 weeks ago
parent 4028baf988
commit 71203a0130

@ -67,15 +67,16 @@ function Queue-Builds {
Write-Host "Queue build for $version..." Write-Host "Queue build for $version..."
$GitHubApi.CreateWorkflowDispatch($WorkflowFileName, $WorkflowDispatchRef, $inputs) $GitHubApi.CreateWorkflowDispatch($WorkflowFileName, $WorkflowDispatchRef, $inputs)
Start-Sleep -s 10 do { Start-Sleep -s 5
$workflowRunLink = Get-WorkflowRunLink -GitHubApi $GitHubApi ` $workflowRunLink = Get-WorkflowRunLink -GitHubApi $GitHubApi
-WorkflowFileName $WorkflowFileName ` -WorkflowFileName $WorkflowFileName
-ToolVersion $version -ToolVersion $version
$retryCount++
if (-not $workflowRunLink) { Write-Host "Attempt $retryCount of $maxRetries: Checking workflow run link for version $version..."
Write-Host "Could not find build for $version..." } while (-not $workflowRunLink -and $retryCount -lt $maxRetries)
exit 1 if (-not $workflowRunLink) {
} Write-Host "Failed to retrieve workflow link after $maxRetries attempts for version $version"
}
Write-Host "Link to the build: $workflowRunLink" Write-Host "Link to the build: $workflowRunLink"
} }

Loading…
Cancel
Save