summaryrefslogtreecommitdiffstats
path: root/src/executor.rs
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2021-09-18 17:22:46 +0200
committerMatthias Schiffer <mschiffer@universe-factory.net>2021-09-18 17:26:50 +0200
commit667769d0afc009b15da5c00be3e603ec44301287 (patch)
tree53ea4adcb06df75baad22dec9d9fda6a29fea572 /src/executor.rs
parent4ad6862f763f75dccbcab8a705ae060be20d57f9 (diff)
downloadrebel-667769d0afc009b15da5c00be3e603ec44301287.tar
rebel-667769d0afc009b15da5c00be3e603ec44301287.zip
executor: use run string instead of action for TaskInput
Diffstat (limited to 'src/executor.rs')
-rw-r--r--src/executor.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/executor.rs b/src/executor.rs
index 6d1b25c..ab88701 100644
--- a/src/executor.rs
+++ b/src/executor.rs
@@ -26,7 +26,7 @@ struct TaskInput<'a> {
pub inherit: Option<InputHash>,
pub depends: &'a HashMap<DependencyHash, Dependency>,
pub output: &'a HashMap<String, String>,
- pub action: &'a Action,
+ pub run: &'a str,
pub env: &'a HashMap<String, String>,
}
@@ -179,7 +179,7 @@ impl<'a> Executor<'a> {
inherit: inherit_hash,
depends: &task_deps,
output: &task_output,
- action: &task_def.action,
+ run: &task_def.action.run,
env: &env,
}
.input_hash();