GitHub Actions Certificate Exam GitHub-Actions Question # 3 Topic 1 Discussion

GitHub Actions Certificate Exam GitHub-Actions Question # 3 Topic 1 Discussion

GitHub-Actions Exam Topic 1 Question 3 Discussion:
Question #: 3
Topic #: 1

As a developer, your Actions workflow often reuses the same outputs or downloaded dependencies from one run to another. To cache dependencies for a job, you are using the GitHub cache action. Which input parameters are required for this action? (Choose two.)


A.

dependency: the name and version of a package to cache or restore


B.

key: the key created when saving a cache and the key used to search for a cache


C.

cache-hit: the copy action key used with restore parameter to restore the data from the cache


D.

path: the file path on the runner to cache or restore


E.

ref: the ref name of the branch to access and restore a cache created


F.

restore-keys: the copy action key used with cache parameter to cache the data


Get Premium GitHub-Actions 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.