pub struct Step {
pub name: String,
pub line: usize,
pub local_action: Option<LocalAction>,
}Expand description
One step under jobs.<id>.steps.
name is the name scalar when it has text. Otherwise it is the uses
scalar, and otherwise the first non-empty line of run. line is the
1-based line of the key that supplied name. Those keys match without
ASCII case, and the later key wins. Block and flow styles both count.
A step with none of those keys keeps an empty name and the line of its
first key, or the line of the step itself.
local_action is set when uses is a ./ path to an action in this
repository. A reusable workflow path and a remote action stay empty.
Fields§
§name: String§line: usize§local_action: Option<LocalAction>uses: ./path for a local action directory, when present.
Trait Implementations§
impl Eq for Step
impl StructuralPartialEq for Step
Auto Trait Implementations§
impl Freeze for Step
impl RefUnwindSafe for Step
impl Send for Step
impl Sync for Step
impl Unpin for Step
impl UnsafeUnpin for Step
impl UnwindSafe for Step
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