Exam GitHub-Actions Topic 5 Question 1 Discussion
Actual exam question for GitHub's GitHub-Actions exam
Question #: 1
Topic #: 5
Question #: 1
Topic #: 5
Which of the following commands will set the $FOO environment variable within a script, so that it may be used in subsequent workflow job steps?
Suggested Answer: B Vote an answer
The $GITHUB_ENV environment variable is used to set environment variables that persist across steps in a workflow job. By echoing FOO=bar into $GITHUB_ENV, the variable FOO will be available in subsequent steps within the same job.
by Alberta at Oct 24, 2025, 11:13 PM
0
0
0
10
Comments
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
Report Comment
Commenting
You can sign-up / login (it's free).