mirror of
https://github.com/CompeyDev/lune-packaging.git
synced 2025-01-08 11:49:10 +00:00
chore(crate): action -> setup-lune
This commit is contained in:
parent
877d159cf7
commit
aa688e693b
3 changed files with 23 additions and 28 deletions
42
package/action/Cargo.lock
generated
42
package/action/Cargo.lock
generated
|
@ -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"
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
[package]
|
||||
name = "action"
|
||||
name = "setup-lune"
|
||||
version = "0.1.0"
|
||||
edition = "2021"
|
||||
|
||||
|
|
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue