mirror of
https://code.forgejo.org/actions/cache.git
synced 2025-04-02 04:57:46 +02:00
Update CACHING.md
Co-authored-by: Bishal Prasad <bishal-pdmsft@github.com>
This commit is contained in:
parent
0ae90725c5
commit
72f008c0fe
1 changed files with 1 additions and 1 deletions
|
@ -34,7 +34,7 @@ One of the most common use case is to use hash for lockfile as key. This way sam
|
|||
|
||||
### Using restore keys to download the closest matching cache
|
||||
|
||||
If cache is not found matching the primary key, restore keys will be used to download the closest matching cache that was recently created. This way most of the dependencies can be downloaded from the restore key hence saving some build time.
|
||||
If cache is not found matching the primary key, restore keys can be used to download the closest matching cache that was recently created. This ensures that the build/install step will need to additionally fetch just a handful of newer dependencies, and hence saving build time.
|
||||
|
||||
```yaml
|
||||
- uses: actions/cache@v3
|
||||
|
|
Loading…
Add table
Reference in a new issue