A template to demonstrate how to build a JavaScript action.
Go to file
Andy McKay 3ee2a0320c
Merge pull request #15 from actions/update-main
Update readme to support new default branch
2020-07-21 08:54:30 -07:00
node_modules Add node modules and package files 2019-09-06 15:17:38 -07:00
LICENSE Add license 2019-09-06 15:26:14 -07:00
README.md Update readme to support new default branch 2020-07-21 08:38:36 -07:00
action.yml typo 2020-04-24 01:08:45 +02:00
index.js Add comments 2019-09-06 15:10:28 -07:00
package-lock.json Add node modules and package files 2019-09-06 15:17:38 -07:00
package.json Add node modules and package files 2019-09-06 15:17:38 -07:00

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" 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

uses: actions/hello-world-javascript-action@main
with:
  who-to-greet: 'Mona the Octocat'