Câu 6: GitHub Actions
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.)
Nội dung câu hỏi
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.)
Các lựa chọn
Đáp án được giữ gọn theo nhãn A, B, C, D trong phần bình chọn tương tác.
- 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 — đáp án hiện tại
- 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 — đáp án hiện tại
- 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
Cộng đồng
0 bình luận công khai. Tên thành viên được ẩn một phần.
Chưa có bình luận. Mở giao diện tương tác để bắt đầu thảo luận.