diff --git a/crates/cuddle-ci/src/rust_service/apt.rs b/crates/cuddle-ci/src/rust_service/apt.rs index 0f02ced..6f5df9c 100644 --- a/crates/cuddle-ci/src/rust_service/apt.rs +++ b/crates/cuddle-ci/src/rust_service/apt.rs @@ -45,6 +45,10 @@ pub trait AptExt { fn with_apt(&mut self, deps: &[&str]) -> &mut Self { self } + + fn with_apt_release(&mut self, deps: &[&str]) -> &mut Self { + self + } } impl AptExt for RustService { @@ -53,6 +57,12 @@ impl AptExt for RustService { Apt::new().extend(deps), ))) } + + fn with_apt_release(&mut self, deps: &[&str]) -> &mut Self { + self.with_stage(super::RustServiceStage::BeforePackage(Arc::new( + Apt::new().extend(deps), + ))) + } } impl AptExt for LeptosService {