A composite action declares an input named target. A shell step inside it reads INPUT_TARGET but receives an empty value. Which change correctly supplies the declared input to that step?

Published
  1. Declare INPUT_TARGET as an action output and expect it to initialize the composite step input environment.
  2. Move the input declaration into the caller repository secrets without changing the step.
  3. Pass inputs.target into a step environment variable inside the composite action and read that explicitly quoted variable in the shell.
  4. Add runs.main to the composite metadata while leaving runs.using: composite.

Comments — 0