Repository navigation
Add example for restore-only cache in documentation - #1419
Merged
v-HarithaVattikuti merged 6 commits intoOct 21, 2025
Merged
v-HarithaVattikuti merged 6 commits into
v-HarithaVattikuti merged 6 commits into
Conversation
There was a problem hiding this comment.
Pull Request Overview
This PR adds documentation demonstrating how to achieve restore-only caching behavior with setup-node by using the actions/cache action directly. This addresses community feedback requesting a restore-only flag without introducing new functionality, instead showing users how to accomplish this with existing tools.
Key Changes:
- Added a "Restore-Only Cache" section with a complete workflow example
- Included explanatory note about the benefits of restore-only caching
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
added 2 commits
October 21, 2025 16:18
v-priya-kinthali
approved these changes
Oct 21, 2025
v-gowridurgad
approved these changes
Oct 21, 2025
Mrquinn4
approved these changes
Oct 21, 2025
v-HarithaVattikuti
approved these changes
Oct 21, 2025
Description:
This PR adds documentation and an example workflow demonstrating how to achieve restore-only caching with setup-node using the actions/cache.
The update is based on community feedback from #663 (“Add option to restore cache only”), which proposed adding a restore-only flag to the action.
Instead of introducing new functionality, this documentation clarifies how users can already achieve this behavior using actions/cache.
Related issue:
#663
Check list: