This commit is contained in:
2025-07-10 13:23:52 -07:00
parent a331934d81
commit 75d8588890

View File

@@ -17,7 +17,7 @@ using Microsoft.Extensions.Logging;
string jsonInput = Environment.GetEnvironmentVariable("INPUTS") ?? "{}";
const string name = "Download Previous Artifacts";
Console.WriteLine($"::group::{name} - Inputs");
Console.Write(jsonInput);
Console.WriteLine(jsonInput);
Console.WriteLine("::endgroup::");
byte[] jsonBytes = Encoding.UTF8.GetBytes(jsonInput);
@@ -89,6 +89,7 @@ static Regex WildcardToRegex(string pattern, RegexOptions options = RegexOptions
return new(regexString, options);
}
Console.WriteLine($"Retrieving workflow runs for repository: {repoOwner}/{repoName} with pattern: {workflowPattern}");
IGetWorkflowRunsApiResponse getWorkflowRunsApiResponse = await repositoryApi.GetWorkflowRunsOrDefaultAsync(repoOwner, repoName, status: "success", page: 1, cancellationToken: CancellationToken.None);
if (!getWorkflowRunsApiResponse.TryOk(out ActionWorkflowRunsResponse workflowRunResponse))
{