An open API service indexing awesome lists of open source software.

https://github.com/jcbhmr/hello-world-rust-action

🦀 Demo action using Deno
https://github.com/jcbhmr/hello-world-rust-action

action cargo deno example getting-started github-action github-actions hack hello-world rust template

Last synced: 10 months ago
JSON representation

🦀 Demo action using Deno

Awesome Lists containing this project

README

          

# "Hello world!" GitHub Action using Rust

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

```rs
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());
}
```

[choosealicense.com]: https://choosealicense.com/
[github actions marketplace]: https://github.com/marketplace?type=actions
[actions/hello-world-javascript-action]: https://github.com/actions/hello-world-javascript-action
[0bsd licensed]: https://github.com/jcbhmr/hello-world-deno-action/blob/main/LICENSE