Manual #1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Manual | |
on: | |
workflow_dispatch: # 手動実行イベント | |
inputs: | |
greeting: # 入力パラメータ名 | |
type: string # データ型(文字列) | |
default: Hello # 入力パラメータのデフォルト値 | |
required: true # 入力パラメータの必須フラグ | |
description: A cheerful word # 入力パラメータの概要 | |
jobs: | |
run: | |
runs-on: ubuntu-latest | |
steps: | |
- run: echo "${{ inputs.greeting }}" # 入力パラメータ「greeting」の参照 |