Struct github_actions_models::action::RunShell
source · pub struct RunShell {
pub run: String,
pub shell: String,
pub name: Option<String>,
pub id: Option<String>,
pub if: Option<String>,
pub env: Env,
pub continue_on_error: BoE,
pub working_directory: Option<String>,
}
Expand description
A step that runs a command in a shell.
Fields§
§run: String
The command to run.
shell: String
The shell to run in.
name: Option<String>
An optional name for this step.
id: Option<String>
An optional ID for this step.
if: Option<String>
An optional expression that prevents this step from running unless it evaluates to true
.
env: Env
An optional environment mapping for this step.
continue_on_error: BoE
A an optional boolean or expression that, if true
, prevents the job from failing when
this step fails.
working_directory: Option<String>
An optional working directory to run RunShell::run
from.
Trait Implementations§
source§impl<'de> Deserialize<'de> for RunShell
impl<'de> Deserialize<'de> for RunShell
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl RefUnwindSafe for RunShell
impl Send for RunShell
impl Sync for RunShell
impl Unpin for RunShell
impl UnwindSafe for RunShell
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more