From 1e257b12697f69bb8a919afc4eb3c3f2fbd32487 Mon Sep 17 00:00:00 2001 From: kjuulh Date: Thu, 28 Dec 2023 14:31:32 +0100 Subject: [PATCH] feat: with main as well Signed-off-by: kjuulh --- crates/cuddle-ci/src/leptos_service.rs | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/crates/cuddle-ci/src/leptos_service.rs b/crates/cuddle-ci/src/leptos_service.rs index 3751b25..ab93c49 100644 --- a/crates/cuddle-ci/src/leptos_service.rs +++ b/crates/cuddle-ci/src/leptos_service.rs @@ -342,7 +342,13 @@ impl PullRequestAction for LeptosService { #[async_trait] impl MainAction for LeptosService { async fn execute_main(&self) -> eyre::Result<()> { - let container = self.build_release().await?; + let mut s = self.clone(); + + let container = s + .with_cargo_binstall("latest", ["cargo-leptos"]) + .build_release() + .await?; + let timestamp = std::time::SystemTime::now() .duration_since(std::time::UNIX_EPOCH) .unwrap()