fix(ci): use alpine image for builds
This commit is contained in:
parent
ec64638159
commit
c5b579b8db
3 changed files with 6 additions and 4 deletions
|
|
@ -1,9 +1,9 @@
|
|||
use crate::server::ServerProcess;
|
||||
use std::fmt;
|
||||
use std::fs::File;
|
||||
use std::io::Write;
|
||||
use std::path::{Path, PathBuf};
|
||||
use std::process::{Child, Command, Stdio};
|
||||
use std::fmt;
|
||||
|
||||
pub enum ServerType {
|
||||
Paper,
|
||||
|
|
|
|||
|
|
@ -79,8 +79,10 @@ impl ServerProcess {
|
|||
tar.append_dir_all("worlds", &self.world_dir)?;
|
||||
|
||||
// We don't store all files in the config, as this would include caches
|
||||
tar.append_path_with_name(self.config_dir.join("server.properties"), "config/server.properties")?;
|
||||
|
||||
tar.append_path_with_name(
|
||||
self.config_dir.join("server.properties"),
|
||||
"config/server.properties",
|
||||
)?;
|
||||
|
||||
// We add a file to the backup describing for what version it was made
|
||||
let info = format!("{} {}", self.type_, self.version);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue