What can a composite action not do compared to a job?
IntermediateConceptCustom Actions & Reusable Workflows
Answer
It cannot read the secrets context (pass secrets as inputs), cannot set runs-on, environment, permissions, services, strategy or timeout-minutes for the job, and cannot define job-level concurrency. Its steps show as one collapsed step in the log (less visibility), and continue-on-error support inside composite steps is limited. If you need any of those, you want a reusable workflow.
More on Custom Actions & Reusable Workflows
What are the three kinds of custom action and how do you choose?BeginnerWrite a minimal composite action that installs Node and dependencies with caching.IntermediateHow do you pass outputs out of a composite action?IntermediateWhat does `action.yml` contain for a JavaScript action?IntermediateWhy must a JavaScript action commit its `dist/` or `node_modules`?IntermediateShow the core of a JavaScript action using the toolkit.Advanced