GitHub
GITHUB-ACTIONS · Question #71
When reviewing an action for use, what file defines its available inputs and outputs?
The correct answer is E. action.yml. The action.yml file defines the inputs and outputs for a GitHub Action. This file contains metadata about the action, including the required inputs and outputs, as well as other configurations like the action's description, runs, and environment setup.
Author and maintain actions
Question
When reviewing an action for use, what file defines its available inputs and outputs?
Options
- Ainputs.yml
- Bconfig.json
- Cdefaults.json
- Dworkflow.yml
- Eaction.yml
How the community answered
(35 responses)- A6% (2)
- B3% (1)
- D3% (1)
- E89% (31)
Explanation
The action.yml file defines the inputs and outputs for a GitHub Action. This file contains metadata about the action, including the required inputs and outputs, as well as other configurations like the action's description, runs, and environment setup.
Topics
#action.yml#action metadata#inputs outputs#action definition
Community Discussion
No community discussion yet for this question.