1use github_actions::*;
2
3fn main() -> Result<(), FileCommandError> {
4 let name = get_input("name").unwrap_or_else(|_| "wasm".to_string());
5 let dry_run = get_bool_input("dry_run").unwrap_or_default();
6
7 group!("wasm github-actions example");
8 info!("hello {}", name);
9 info!("debug={}", is_debug());
10 info!("dry_run={}", dry_run);
11 notice!("running through wasmer");
12
13 set_secret("wasm-secret");
14 export_variable("WASM_EXAMPLE", "ok")?;
15 set_output("wasm-example", "ok")?;
16
17 Ok(())
18}