Include completed_at when action is aborted
This commit is contained in:
parent
6846c702da
commit
50a2815790
3 changed files with 3 additions and 3 deletions
2
lib/util.js
generated
2
lib/util.js
generated
|
|
@ -252,7 +252,7 @@ async function createStatusReport(actionName, status, cause, exception) {
|
|||
if (exception) {
|
||||
statusReport.exception = exception;
|
||||
}
|
||||
if (status === 'success' || status === 'failure') {
|
||||
if (status === 'success' || status === 'failure' || status === 'aborted') {
|
||||
statusReport.completed_at = new Date().toISOString();
|
||||
}
|
||||
let matrix = core.getInput('matrix');
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
|
|
@ -283,7 +283,7 @@ async function createStatusReport(
|
|||
if (exception) {
|
||||
statusReport.exception = exception;
|
||||
}
|
||||
if (status === 'success' || status === 'failure') {
|
||||
if (status === 'success' || status === 'failure' || status === 'aborted') {
|
||||
statusReport.completed_at = new Date().toISOString();
|
||||
}
|
||||
let matrix: string | undefined = core.getInput('matrix');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue