nerdexam
Microsoft

GH-200 · Question #16

Which of the following is the most common way to target a specific major release version?

The correct answer is A. steps. Example: Using versioned actions # Reference a specific commit - uses: actions/checkout@8f4b7f84864484a7bf31766abe9204da3cbe65b3 *-> # Reference the major version of a release - uses: actions/checkout@v4 # Reference a specific version - uses: actions/[email protected] # Reference…

Consume Workflows

Question

Which of the following is the most common way to target a specific major release version?

Options

  • Asteps:
  • Bsteps:
  • Csteps:
  • Dsteps:

How the community answered

(38 responses)
  • A
    95% (36)
  • C
    3% (1)
  • D
    3% (1)

Explanation

Example: Using versioned actions # Reference a specific commit - uses: actions/checkout@8f4b7f84864484a7bf31766abe9204da3cbe65b3 *-> # Reference the major version of a release - uses: actions/checkout@v4 # Reference a specific version - uses: actions/[email protected] # Reference a branch - uses: actions/checkout@main https://docs.github.com/en/actions/reference/workflows-and-actions/workflow-syntax

Topics

#Action versioning#Major releases#Workflow syntax#Consuming actions

Community Discussion

No community discussion yet for this question.

Full GH-200 Practice