workflow
parent
f02e56a610
commit
5e93fb95af
|
|
@ -585,7 +585,7 @@ class Cli {
|
||||||
static checksUpdate() {
|
static checksUpdate() {
|
||||||
return __awaiter(this, void 0, void 0, function* () {
|
return __awaiter(this, void 0, void 0, function* () {
|
||||||
const input = JSON.parse(process.env.CHECKS_UPDATE || ``);
|
const input = JSON.parse(process.env.CHECKS_UPDATE || ``);
|
||||||
core.info(`Checks Update ${input}`);
|
core.info(`Checks Update ${process.env.CHECKS_UPDATE}`);
|
||||||
if (input.mode === `create`) {
|
if (input.mode === `create`) {
|
||||||
yield github_1.default.createGitHubCheckRequest(input.data);
|
yield github_1.default.createGitHubCheckRequest(input.data);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
File diff suppressed because one or more lines are too long
|
|
@ -120,7 +120,7 @@ export class Cli {
|
||||||
@CliFunction(`checks-update`, `runs a cloud runner build`)
|
@CliFunction(`checks-update`, `runs a cloud runner build`)
|
||||||
public static async checksUpdate() {
|
public static async checksUpdate() {
|
||||||
const input = JSON.parse(process.env.CHECKS_UPDATE || ``);
|
const input = JSON.parse(process.env.CHECKS_UPDATE || ``);
|
||||||
core.info(`Checks Update ${input}`);
|
core.info(`Checks Update ${process.env.CHECKS_UPDATE}`);
|
||||||
if (input.mode === `create`) {
|
if (input.mode === `create`) {
|
||||||
await GitHub.createGitHubCheckRequest(input.data);
|
await GitHub.createGitHubCheckRequest(input.data);
|
||||||
} else if (input.mode === `update`) {
|
} else if (input.mode === `update`) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue