add an extra getRequiredInput

This commit is contained in:
Robert Brignull 2020-09-16 11:03:13 +01:00
parent 7be1a410c2
commit 4c4114f2d8
3 changed files with 3 additions and 3 deletions

2
lib/actions-util.js generated
View file

@ -209,7 +209,7 @@ async function createStatusReportBase(actionName, status, actionStartedAt, cause
if (status === "success" || status === "failure" || status === "aborted") {
statusReport.completed_at = new Date().toISOString();
}
const matrix = core.getInput("matrix");
const matrix = getRequiredInput("matrix");
if (matrix) {
statusReport.matrix_vars = matrix;
}

File diff suppressed because one or more lines are too long

View file

@ -261,7 +261,7 @@ export async function createStatusReportBase(
if (status === "success" || status === "failure" || status === "aborted") {
statusReport.completed_at = new Date().toISOString();
}
const matrix: string | undefined = core.getInput("matrix");
const matrix = getRequiredInput("matrix");
if (matrix) {
statusReport.matrix_vars = matrix;
}