feat: with main as well
Some checks failed
continuous-integration/drone/push Build is failing

Signed-off-by: kjuulh <contact@kjuulh.io>
This commit is contained in:
Kasper Juul Hermansen 2023-12-28 14:31:32 +01:00
parent 97bf2b217c
commit 1e257b1269
Signed by: kjuulh
GPG Key ID: 57B6E1465221F912

View File

@ -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()