Function save_state

Source
pub fn save_state(
    env: &impl Read,
    name: impl AsRef<str>,
    value: impl Into<String>,
) -> Result<(), CommandError>
Expand description

Saves state for current action, the state can only be retrieved by this action’s post job execution.

§Errors

If the file command fails.