Skip to content

negabaro/action-js-hello-world

Repository files navigation

Action JS Hello World

This action prints "Hello World!" with env,secret,with,etc provided by Workflow of Github Action.

This code is referenced hello-world-javascript-action and "Creating a JavaScript action" in the GitHub Help documentation.

Inputs

hello-text

Required Default "Hello".

env HELLO_ENV

Default "Hello"

secret HELLO_SECRET

Default ""

The secret key needs to be set on the github settings of dashboard.

Outputs

The expected output results are as follows.

textResponse

Hello World!

arrayResponse

[Hello,World!]

envResponse

Hello World!

secretResponse

Hello World!

If secret key of HELLO_SECRET is not set, it returns as follows.

World!

Example usage

uses: negabaro/action-js-hello-world@master
with:
  hello-text: 'Hello'

https://docs.github.com/en/free-pro-team@latest/actions/creating-actions/creating-a-javascript-action

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published