add an extra getRequiredInput
This commit is contained in:
parent
7be1a410c2
commit
4c4114f2d8
3 changed files with 3 additions and 3 deletions
2
lib/actions-util.js
generated
2
lib/actions-util.js
generated
|
|
@ -209,7 +209,7 @@ async function createStatusReportBase(actionName, status, actionStartedAt, cause
|
||||||
if (status === "success" || status === "failure" || status === "aborted") {
|
if (status === "success" || status === "failure" || status === "aborted") {
|
||||||
statusReport.completed_at = new Date().toISOString();
|
statusReport.completed_at = new Date().toISOString();
|
||||||
}
|
}
|
||||||
const matrix = core.getInput("matrix");
|
const matrix = getRequiredInput("matrix");
|
||||||
if (matrix) {
|
if (matrix) {
|
||||||
statusReport.matrix_vars = matrix;
|
statusReport.matrix_vars = matrix;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
File diff suppressed because one or more lines are too long
|
|
@ -261,7 +261,7 @@ export async function createStatusReportBase(
|
||||||
if (status === "success" || status === "failure" || status === "aborted") {
|
if (status === "success" || status === "failure" || status === "aborted") {
|
||||||
statusReport.completed_at = new Date().toISOString();
|
statusReport.completed_at = new Date().toISOString();
|
||||||
}
|
}
|
||||||
const matrix: string | undefined = core.getInput("matrix");
|
const matrix = getRequiredInput("matrix");
|
||||||
if (matrix) {
|
if (matrix) {
|
||||||
statusReport.matrix_vars = matrix;
|
statusReport.matrix_vars = matrix;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue