add download trigger in action result (#4099)
This commit is contained in:
@@ -3174,6 +3174,7 @@ class WorkflowService:
|
|||||||
disable_cache=block_yaml.disable_cache,
|
disable_cache=block_yaml.disable_cache,
|
||||||
complete_on_download=True,
|
complete_on_download=True,
|
||||||
complete_verification=True,
|
complete_verification=True,
|
||||||
|
include_action_history_in_verification=True,
|
||||||
download_timeout=block_yaml.download_timeout,
|
download_timeout=block_yaml.download_timeout,
|
||||||
)
|
)
|
||||||
elif block_yaml.block_type == BlockType.TaskV2:
|
elif block_yaml.block_type == BlockType.TaskV2:
|
||||||
|
|||||||
@@ -45,6 +45,7 @@ async def get_action_history(
|
|||||||
"success",
|
"success",
|
||||||
"exception_type",
|
"exception_type",
|
||||||
"exception_message",
|
"exception_message",
|
||||||
|
"download_triggered",
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -475,6 +475,7 @@ class ActionHandler:
|
|||||||
)
|
)
|
||||||
|
|
||||||
if not download_triggered:
|
if not download_triggered:
|
||||||
|
results[-1].download_triggered = False
|
||||||
return results
|
return results
|
||||||
results[-1].download_triggered = True
|
results[-1].download_triggered = True
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user