8 references to GitHubCli
Aspire.TestTools (4)
GitHubActionsApi.cs (4)
29
using var jobsDocument = await
GitHubCli
.GetJsonAsync(endpoint, cancellationToken).ConfigureAwait(false);
61
using var artifactsDocument = await
GitHubCli
.GetJsonAsync(
92
=>
GitHubCli
.GetStringAsync($"repos/{repository}/actions/jobs/{jobId}/logs", allowEscapeSequences: true, cancellationToken);
95
=>
GitHubCli
.DownloadFileAsync($"repos/{repository}/actions/artifacts/{artifactId}/zip", outputPath, cancellationToken);
Infrastructure.Tests (4)
CreateFailingTestIssue\GitHubCliArgumentTests.cs (4)
17
/// <see cref="
GitHubCli
.GhInvokerOverride"/>.
38
() =>
GitHubCli
.GetStringAsync("repos/microsoft/aspire/actions/runs/1", CancellationToken.None));
56
GitHubCli
.GhInvokerOverride = (arguments, _) =>
68
GitHubCli
.GhInvokerOverride = null;