async pipeline

pull/479/head
Frostebite 2023-01-18 21:01:12 +00:00
parent 483b94b942
commit 9ed1ef45f8
3 changed files with 5 additions and 5 deletions

4
dist/index.js vendored
View File

@ -6336,7 +6336,7 @@ const core_1 = __nccwpck_require__(76762);
class GitHub {
static createGitHubCheck(summary) {
return __awaiter(this, void 0, void 0, function* () {
if (!cloud_runner_options_1.default.githubChecks || cloud_runner_options_1.default.asyncCloudRunner) {
if (!cloud_runner_options_1.default.githubChecks) {
return ``;
}
const sha = cloud_runner_1.default.buildParameters.gitSha;
@ -6380,7 +6380,7 @@ class GitHub {
}
static updateGitHubCheck(longDescription, summary, result = `neutral`, status = `in_progress`) {
return __awaiter(this, void 0, void 0, function* () {
if (!cloud_runner_options_1.default.githubChecks || cloud_runner_options_1.default.asyncCloudRunner) {
if (!cloud_runner_options_1.default.githubChecks) {
return;
}
GitHub.longDescriptionContent += `\n${longDescription}`;

2
dist/index.js.map vendored

File diff suppressed because one or more lines are too long

View File

@ -9,7 +9,7 @@ class GitHub {
private static endedDate: string;
public static async createGitHubCheck(summary) {
if (!CloudRunnerOptions.githubChecks || CloudRunnerOptions.asyncCloudRunner) {
if (!CloudRunnerOptions.githubChecks) {
return ``;
}
const sha = CloudRunner.buildParameters.gitSha;
@ -56,7 +56,7 @@ class GitHub {
}
public static async updateGitHubCheck(longDescription, summary, result = `neutral`, status = `in_progress`) {
if (!CloudRunnerOptions.githubChecks || CloudRunnerOptions.asyncCloudRunner) {
if (!CloudRunnerOptions.githubChecks) {
return;
}
GitHub.longDescriptionContent += `\n${longDescription}`;