Fix worker package upload
@@ -78,7 +78,6 @@ pub struct Runner {
config: Arc<Config>,
depot_cli: depot_client::Client,
workspace: Workspace,
- archive: Option<PackageArchive>,
logger: Logger,
cancel: Arc<AtomicBool>,
}
@@ -94,7 +93,6 @@ impl Runner {
Runner {
workspace: Workspace::new(&config.data_path, job),
- archive: None,
config: config,
depot_cli: depot_cli,
logger: logger,
@@ -273,7 +271,6 @@ impl Runner {
) -> Result<()> {
self.check_cancel(tx)?;
- if self.archive.is_some() {
match post_process(
&mut archive,
&self.workspace,
@@ -287,7 +284,6 @@ impl Runner {
return Err(err);
}
}
- }
Ok(())
}
