A reusable workflow exposes a result calculated by a step in its package job. A caller needs the result as an output of the reusable-workflow job. Which mapping chain is required?

Published
  1. Expose only step outputs and read needs.package.steps.version from the caller.
  2. Map the step to a job output, then expose that job in workflow_call.outputs.
  3. Put outputs beside uses on the caller step and omit workflow_call outputs.
  4. Define only an environment variable in the package job.

Comments — 0