Which statement is true about using default environment variables?
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.
Answer: D
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.
Latest GitHub Actions Dumps Valid Version with 72 Q&As
Latest And Valid Q&A | Instant Download | Once Fail, Full Refund