Resolve dependency cycles between actions-util and workflow
This commit is contained in:
parent
0bc4788cf7
commit
2637069a45
39 changed files with 532 additions and 527 deletions
|
|
@ -61,7 +61,7 @@ export async function sendStatusReport(
|
|||
error,
|
||||
stats?.analyze_failure_language
|
||||
);
|
||||
const statusReportBase = await actionsUtil.createStatusReportBase(
|
||||
const statusReportBase = await api.createStatusReportBase(
|
||||
"finish",
|
||||
status,
|
||||
startedAt,
|
||||
|
|
@ -182,11 +182,7 @@ async function run() {
|
|||
try {
|
||||
if (
|
||||
!(await api.sendStatusReport(
|
||||
await actionsUtil.createStatusReportBase(
|
||||
"finish",
|
||||
"starting",
|
||||
startedAt
|
||||
)
|
||||
await api.createStatusReportBase("finish", "starting", startedAt)
|
||||
))
|
||||
) {
|
||||
return;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue