nerdexam
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)
  • A
    6% (2)
  • B
    3% (1)
  • D
    3% (1)
  • E
    89% (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.

Full GITHUB-ACTIONS Practice