Referencing a variable output by another action
Use the following instructions to reference variables output by other actions.
Note
To reference a variable output from a GitHub Action, see Referencing GitHub output parameters.
For more information about variables, see Using variables in workflows.
Prerequisite
Make sure you have exported the variable you want to reference. For more information, see Exporting a variable so that other actions can use it.