pub struct GhaStep {
pub name: Option<String>,
pub id: Option<String>,
pub uses: Option<String>,
pub run: Option<String>,
pub env: Option<EnvSpec>,
pub with: Option<HashMap<String, Value>>,
pub if_cond: Option<String>,
}Fields§
§name: Option<String>§id: Option<String>Optional YAML id: — the symbolic name used by steps.<id>.outputs.*
references in expressions. Captured so output-flow rules can resolve
which step produced a referenced output.
uses: Option<String>§run: Option<String>§env: Option<EnvSpec>Step-level env vars. Polymorphic: typically a map, but can be a
template expression (e.g. env: ${{ matrix }}) whose shape is unknown
statically.
with: Option<HashMap<String, Value>>§if_cond: Option<String>Step-level if: condition. Captured verbatim so rules can detect
the standard fork-check pattern.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for GhaStep
impl<'de> Deserialize<'de> for GhaStep
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 Freeze for GhaStep
impl RefUnwindSafe for GhaStep
impl Send for GhaStep
impl Sync for GhaStep
impl Unpin for GhaStep
impl UnsafeUnpin for GhaStep
impl UnwindSafe for GhaStep
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