mirror of
https://github.com/actions/hello-world-javascript-action.git
synced 2025-04-07 06:59:37 +00:00
24 lines
562 B
Markdown
24 lines
562 B
Markdown
# Hello world JavaScript action
|
|
|
|
This action prints "Hello World" or "Hello" + the name of a person to greet to the log. To learn how this action was built, see "[Creating a JavaScript action](https://help.github.com/en/articles/creating-a-javascript-action)" in the GitHub Help documentation.
|
|
|
|
## Inputs
|
|
|
|
### `who-to-greet`
|
|
|
|
**Required** The name of the person to greet. Default `"World"`.
|
|
|
|
## Outputs
|
|
|
|
### `time`
|
|
|
|
The time we greeted you.
|
|
|
|
## Example usage
|
|
|
|
```yaml
|
|
uses: actions/hello-world-javascript-action@main
|
|
with:
|
|
who-to-greet: 'Mona the Octocat'
|
|
```
|