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

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;
}