Skip to main content

build_action

Function build_action 

Source
pub async fn build_action(
    input: BuildActionInput<'_>,
) -> Result<Option<(Action, Digest)>>
Expand description

Build the Action envelope for a task and compute its digest.

Returns Ok(None) when the task is not eligible for caching.

ยงErrors

Propagates failures from task command resolution and canonical encoding.

Input hashing failures degrade to Ok(None) so cache eligibility never changes whether the task itself is runnable.