Winter Sale Special Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: force70

Microsoft GitHub Actions Exam GH-200 Question # 10 Topic 2 Discussion

Microsoft GitHub Actions Exam GH-200 Question # 10 Topic 2 Discussion

GH-200 Exam Topic 2 Question 10 Discussion:
Question #: 10
Topic #: 2

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?


A.

run: echo " ::set-env name=FOO::bar "


B.

run: echo " FOO=bar " > > $GITHUB_ENV


C.

run: echo ${{ $FOO=bar }}


D.

run: export FOO=bar


Get Premium GH-200 Questions

Contribute your Thoughts:


Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.