Which statement is true about using default environment variables?
A.
The environment variables can be read in workflows using the ENV: variable_name syntax.
B.
The environment variables created should be prefixed with GITHUB_ to ensure they can be accessed in workflows
C.
The environment variables can be set in the defaults: sections of the workflow
D.
The GITHUB_WORKSPACE environment variable should be used to access files from within the runner.
The Answer Is:
D
This question includes an explanation.
Explanation:
GITHUB_WORKSPACE is a default environment variable in GitHub Actions that points to the directory on the runner where your repository is checked out. This variable allows you to access files within your repository during the workflow.
GH-200 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 65% Discount on All Products,
Use Coupon: "ac4s65"