mirror of
				https://github.com/actions/cache.git
				synced 2025-11-04 15:14:00 +00:00 
			
		
		
		
	Update README.md
This commit is contained in:
		
							parent
							
								
									cd145abe1d
								
							
						
					
					
						commit
						bf21ae1d30
					
				
							
								
								
									
										24
									
								
								README.md
									
									
									
									
									
								
							
							
						
						
									
										24
									
								
								README.md
									
									
									
									
									
								
							@ -13,10 +13,32 @@ See ["Caching dependencies to speed up workflows"](https://help.github.com/githu
 | 
				
			|||||||
* Added support for caching from GHES 3.5.
 | 
					* Added support for caching from GHES 3.5.
 | 
				
			||||||
* Fixed download issue for files > 2GB during restore.
 | 
					* Fixed download issue for files > 2GB during restore.
 | 
				
			||||||
* Updated the minimum runner version support from node 12 -> node 16.
 | 
					* Updated the minimum runner version support from node 12 -> node 16.
 | 
				
			||||||
 | 
					<<<<<<< HEAD
 | 
				
			||||||
* Fixed avoiding empty cache save when no files are available for caching.
 | 
					* Fixed avoiding empty cache save when no files are available for caching.
 | 
				
			||||||
* Fixed tar creation error while trying to create tar with path as `~/` home folder on `ubuntu-latest`.
 | 
					* Fixed tar creation error while trying to create tar with path as `~/` home folder on `ubuntu-latest`.
 | 
				
			||||||
 | 
					=======
 | 
				
			||||||
 | 
					>>>>>>> parent of f2ea0f2 (Updated Readme with what's new and removed v2 info)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
Refer [here](https://github.com/actions/cache/blob/v2/README.md) for previous versions
 | 
					### v2
 | 
				
			||||||
 | 
					* Increased the cache size limit to 10 GB.
 | 
				
			||||||
 | 
					* Added support for multiple paths, [glob patterns](https://github.com/actions/toolkit/tree/main/packages/glob), and single file caches.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					```yaml
 | 
				
			||||||
 | 
					- name: Cache multiple paths
 | 
				
			||||||
 | 
					  uses: actions/cache@v3
 | 
				
			||||||
 | 
					  with:
 | 
				
			||||||
 | 
					    path: |
 | 
				
			||||||
 | 
					      ~/cache
 | 
				
			||||||
 | 
					      !~/cache/exclude
 | 
				
			||||||
 | 
					    key: ${{ runner.os }}-${{ hashFiles('**/lockfiles') }}
 | 
				
			||||||
 | 
					```
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					* Increased performance and improved cache sizes using `zstd` compression for Linux and macOS runners
 | 
				
			||||||
 | 
					* Allowed caching for all events with a ref. See [events that trigger workflow](https://help.github.com/en/actions/reference/events-that-trigger-workflows) for info on which events do not have a `GITHUB_REF`
 | 
				
			||||||
 | 
					* Released the [`@actions/cache`](https://github.com/actions/toolkit/tree/main/packages/cache) npm package to allow other actions to utilize caching
 | 
				
			||||||
 | 
					* Added a best-effort cleanup step to delete the archive after extraction to reduce storage space
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					Refer [here](https://github.com/actions/cache/blob/v1/README.md) for previous versions
 | 
				
			||||||
 | 
					
 | 
				
			||||||
## Usage
 | 
					## Usage
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user