From 6a47528f11d334421f5b9d1692ce12a33e532e58 Mon Sep 17 00:00:00 2001 From: kjuulh Date: Sun, 11 Feb 2024 14:16:30 +0100 Subject: [PATCH] feat: with export Signed-off-by: kjuulh --- crates/cuddle-ci/src/rust_service.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/crates/cuddle-ci/src/rust_service.rs b/crates/cuddle-ci/src/rust_service.rs index a9681ba..bd2ac89 100644 --- a/crates/cuddle-ci/src/rust_service.rs +++ b/crates/cuddle-ci/src/rust_service.rs @@ -256,6 +256,8 @@ impl RustService { .collect::>(); let base = self.run_stage(before_build, base).await?; + base.export("export.tar").await?; + let binary_build = base.with_exec(vec!["cargo", "build", "--release", "--bin", &self.bin_name]);