What is the smallest scope for an environment variable?
A.
the workflow settings
B.
a step
C.
a job
D.
the workflow env mapping
The Answer Is:
B
This question includes an explanation.
Explanation:
The smallest scope for an environment variable is within astep. Environment variables defined within a step are only accessible to that particular step, which makes it the smallest scope for a variable in a GitHub Actions workflow.
GitHub-Actions PDF/Engine
Printable Format
Value of Money
100% Pass Assurance
Verified Answers
Researched by Industry Experts
Based on Real Exams Scenarios
100% Real Questions
Get 75% Discount on All Products,
Use Coupon: "ac75sure"