アクションの runs.using フィールドとは?
アクションのメタデータにおける runs.using フィールドは、アクションの実行方法を宣言します。指定したランタイム上のJavaScriptプログラムとして、Dockerコンテナとして、あるいはネストされたstepのcompositeとして実行されます。CIエンジンはこれを読み取り、適切なランチャーを選び、それに応じてinputを渡します。これはアクションのランタイムモデルを決定する唯一のスイッチです。
なぜ重要か
実行モデルは移植性と速度に影響します。JavaScriptアクションはrunner上で直接実行され、起動が速い。Dockerアクションは分離されますが特定のプラットフォームに制限されます。compositeは既存のstepをまとめます。この値を知れば、アクションが対象にできるプラットフォームとrunnerのOSがわかります。
関連ガイド
What Is a JavaScript Action?A JavaScript action is a CI action that runs as a Node program directly on the runner, starting fast and work…
What Is a Docker Action?A Docker action is a CI action packaged as a container image, so its tools and dependencies are bundled and r…
What Is a Composite Step?A composite step is one of the steps bundled inside a composite action, letting several commands and actions…