Skip to content

jcbhmr/hello-world-rust-action

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

"Hello world!" GitHub Action using Rust

🦀 Demo action using Rust
💡 Inspired by actions/hello-world-javascript-action

use actions_core as core;
use chrono::prelude::*;
fn main() {
    println!("Hello {}!", core::get_input("name"));
    core::set_output("time", &Local::now().format("%H:%M:%S").to_string());
}