QuestionQ8
Secure and optimize automationAs a developer, your Actions workflow frequently reuses the same outputs or downloaded dependencies between runs. You are using the GitHub cache action to cache dependencies for a job. Which input parameters are required for this action? (Each correct answer presents part of the solution. Choose two.)
Choose two
- A path: the file path on the runner to cache or restore
- B dependency: the name and version of a package to cache or restore
- C key: the key created when saving a cache and the key used to search for a cache
- D restore-keys: the copy action key used with cache parameter to cache the data
- E cache-hit: the copy action key used with restore parameter to restore the data from the cache
- F ref: the ref name of the branch to access and restore a cache created
Community Discussion