pub fn state<K: ToString>(name: K) -> Result<String, VarError>Expand description
Similar to input, but, gets data shared from a wrapper action.
use actions_core as core;
let greeting = core::state("my_greeting")
.unwrap_or_else(|_| "hello".to_owned());