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
- Host: GitHub
- URL: https://github.com/jcbhmr/hello-world-rust-action
- Owner: jcbhmr
- License: 0bsd
- Created: 2023-11-08T18:30:08.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-09-03T22:33:07.000Z (over 1 year ago)
- Last Synced: 2025-02-07T17:15:37.000Z (about 1 year ago)
- Topics: action, cargo, deno, example, getting-started, github-action, github-actions, hack, hello-world, rust, template
- Language: JavaScript
- Homepage:
- Size: 1.45 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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