Skip to content

Commit

Permalink
om ci: Allow --override-inputs to work with --on
Browse files Browse the repository at this point in the history
  • Loading branch information
srid committed Jan 10, 2025
1 parent f33c4e0 commit 7ef866f
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion crates/omnix-ci/src/command/run.rs
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,14 @@ impl Default for RunCommand {
impl RunCommand {
/// Preprocess this command
pub fn preprocess(&mut self) {
self.steps_args.build_step_args.preprocess();
if !self.is_remote() {
self.steps_args.build_step_args.preprocess();
}
}

/// Whether this command is to be run remotely
pub fn is_remote(&self) -> bool {
self.on.is_some()
}

/// Get the out-link path
Expand Down

0 comments on commit 7ef866f

Please sign in to comment.