Signed-off-by: kjuulh <contact@kjuulh.io>
This commit is contained in:
@@ -6,7 +6,7 @@ use dagger_sdk::{Container, ContainerWithDirectoryOptsBuilder, HostDirectoryOpts
|
||||
use crate::{
|
||||
dagger_middleware::DynMiddleware,
|
||||
rust_service::architecture::{Architecture, Os},
|
||||
MainAction, PullRequestAction,
|
||||
Context, MainAction, PullRequestAction,
|
||||
};
|
||||
|
||||
#[derive(Clone)]
|
||||
@@ -215,7 +215,7 @@ impl NodeService {
|
||||
|
||||
#[async_trait]
|
||||
impl PullRequestAction for NodeService {
|
||||
async fn execute_pull_request(&self) -> eyre::Result<()> {
|
||||
async fn execute_pull_request(&self, _ctx: &mut Context) -> eyre::Result<()> {
|
||||
let release = self.build_release().await?;
|
||||
|
||||
release.sync().await?;
|
||||
@@ -226,7 +226,7 @@ impl PullRequestAction for NodeService {
|
||||
|
||||
#[async_trait]
|
||||
impl MainAction for NodeService {
|
||||
async fn execute_main(&self) -> eyre::Result<()> {
|
||||
async fn execute_main(&self, _ctx: &mut Context) -> eyre::Result<()> {
|
||||
let container = self.build_release().await?;
|
||||
let timestamp = std::time::SystemTime::now()
|
||||
.duration_since(std::time::UNIX_EPOCH)
|
||||
|
Reference in New Issue
Block a user