composite step とは何か?
composite step は composite action 内で定義される個々の step で、composite action は複数の run コマンドやその他の action を単一の action 参照の背後にまとめます。composite action を呼び出すと、その step がインライン化されたかのように順番に実行されます。繰り返される step のシーケンスを 1 つの共有可能な action に切り出す方法です。
なぜ重要か
composite action がなければ、共通のセットアップシーケンスが多くの workflow にコピーされ、互いにずれていきます。composite step はそのシーケンスを 1 か所に置き、参照によって再利用できるようにします。これにより pipeline は一貫性を保ち、1 回の編集で更新しやすくなります。
関連ガイド
What Is Action Metadata?Action metadata is the manifest file that declares an action's name, inputs, outputs, and how it runs, tellin…
What Is the Action runs.using Field?The runs.using field in an action manifest declares the action's execution model, such as a JavaScript runtim…
What Is a Setup Action?A setup action installs and configures a specific language or tool version on a runner, putting it on the pat…