nerdexam
GitHub

GITHUB-ACTIONS · Question #42

As a developer, you need to create a custom action written in Python. Which action type should you choose?

The correct answer is D. Docker container action. A Docker container action is ideal for custom actions that require specific environments or dependencies, such as Python. By creating a Docker container, you can define the environment with the necessary Python version and dependencies, and your Python code can run inside that

GitHub Actions - Custom Actions

Question

As a developer, you need to create a custom action written in Python. Which action type should you choose?

Options

  • AJavaScript action
  • Bcomposite run step
  • CPython action
  • DDocker container action

How the community answered

(37 responses)
  • A
    8% (3)
  • B
    3% (1)
  • C
    3% (1)
  • D
    86% (32)

Explanation

A Docker container action is ideal for custom actions that require specific environments or dependencies, such as Python. By creating a Docker container, you can define the environment with the necessary Python version and dependencies, and your Python code can run inside that

Topics

#custom actions#Docker container action#action types#Python

Community Discussion

No community discussion yet for this question.

Full GITHUB-ACTIONS Practice