Skip to content

Commit

Permalink
add an extra getRequiredInput
Browse files Browse the repository at this point in the history
  • Loading branch information
Robert Brignull committed Sep 16, 2020
1 parent 7be1a41 commit 4c4114f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/actions-util.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion lib/actions-util.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/actions-util.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 4c4114f

Please sign in to comment.