Test
This commit is contained in:
@@ -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))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user