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