diff --git a/package/action/Cargo.lock b/package/action/Cargo.lock index 557cc5d..e79749f 100644 --- a/package/action/Cargo.lock +++ b/package/action/Cargo.lock @@ -2,27 +2,6 @@ # It is not intended for manual editing. version = 3 -[[package]] -name = "action" -version = "0.1.0" -dependencies = [ - "actions-core", - "anyhow", - "better-panic", - "colored", - "directories", - "home", - "serde", - "serde_json", - "tracing", - "tracing-core", - "tracing-subscriber", - "tracing-unwrap", - "ureq", - "url", - "zip", -] - [[package]] name = "actions-core" version = "0.0.2" @@ -710,6 +689,27 @@ dependencies = [ "serde", ] +[[package]] +name = "setup-lune" +version = "0.1.0" +dependencies = [ + "actions-core", + "anyhow", + "better-panic", + "colored", + "directories", + "home", + "serde", + "serde_json", + "tracing", + "tracing-core", + "tracing-subscriber", + "tracing-unwrap", + "ureq", + "url", + "zip", +] + [[package]] name = "sha1" version = "0.10.6" diff --git a/package/action/Cargo.toml b/package/action/Cargo.toml index 4f28487..d1dcb15 100644 --- a/package/action/Cargo.toml +++ b/package/action/Cargo.toml @@ -1,5 +1,5 @@ [package] -name = "action" +name = "setup-lune" version = "0.1.0" edition = "2021" diff --git a/package/action/src/main.rs b/package/action/src/main.rs index d6e78fe..a8e7c04 100644 --- a/package/action/src/main.rs +++ b/package/action/src/main.rs @@ -1,6 +1,6 @@ use std::fs::File; -use action::{ +use setup_lune::{ download::{download_release, install_lune}, fmt::LogFormatter, }; @@ -9,11 +9,6 @@ use tracing::Level; use tracing_unwrap::ResultExt; fn main() { - println!( - "debug mode: {}", - (core::is_debug() || cfg!(debug_assertions)) - ); - if cfg!(debug_assertions) { better_panic::install(); }