mm0202 / template_github-action_js-type

JavaScriptタイプのGitHubアクションのひな型

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

.github/workflows/main.yml

template_github-action_js-type

JavaScriptタイプのGitHubアクションのひな型

使うときは

  • cloneしてリポートリポジトリの設定を変更するか、ファイルを移動・設置
  • .github/workflows/main.ymlのアクションリポジトリの指定部分を作成したリポジトリに変更

This is trace from JavaScript アクションを作成する

Hello world javascript action

This action prints "Hello World" or "Hello" + the name of a person to greet to the log.

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@v1
with:
  who-to-greet: 'Mona the Octocat'

usesフィールドのリポジトリ名は作成したリポジトリに書き換えて使用

About

JavaScriptタイプのGitHubアクションのひな型

License:MIT License


Languages

Language:JavaScript 100.0%