Skip to Content

Helloアクション

helloアクションは成功するだけで何もしないアクションです。プレースホルダーとして、echoだけを目的とするステップとして、あるいは式の動作確認に使います。

基本的な構文

steps: - name: Report uses: hello echo: "Checked {{outputs.health.endpoint}}"

パラメータ

このアクション固有のパラメータはありません。withに渡した内容はそのままresに返るため、計算した値をoutputsとして公開したいときに便利です。

steps: - name: Build a summary id: summary uses: hello with: run_id: "{{vars.run_id}}" checked_at: "{{now().Format('2006-01-02T15:04:05Z07:00')}}" outputs: run_id: res.run_id checked_at: res.checked_at

レスポンスオブジェクト

プロパティ説明
res.<key>任意withに渡したキーがそのまま入ります
res.statusInteger常に0
statusInteger常に0

関連項目

  • 変数 - ステップで使える変数
  • YAML設定 - ステップのプロパティ
更新日時