mirror of
				https://gitea.com/actions/cache.git
				synced 2025-10-31 07:47:07 +00:00 
			
		
		
		
	Added tips and workarounds for cross os
This commit is contained in:
		| @@ -28,7 +28,6 @@ See ["Caching dependencies to speed up workflows"](https://docs.github.com/en/ac | ||||
| * Fix zstd not working for windows on gnu tar in issues. | ||||
| * Allowing users to provide a custom timeout as input for aborting download of a cache segment using an environment variable `SEGMENT_DOWNLOAD_TIMEOUT_MINS`. Default is 60 minutes. | ||||
| * Two new actions available for granular control over caches - [restore](restore/action.yml) and [save](save/action.yml) | ||||
| * Add support for cross os caching. For example, a cache saved on windows can be restored on ubuntu and vice versa. | ||||
|  | ||||
| Refer [here](https://github.com/actions/cache/blob/v2/README.md) for previous versions | ||||
|  | ||||
| @@ -245,6 +244,7 @@ Following are some of the known practices/workarounds which community has used t | ||||
| - [Cache segment restore timeout](./tips-and-workarounds.md#cache-segment-restore-timeout) | ||||
| - [Update a cache](./tips-and-workarounds.md#update-a-cache) | ||||
| - [Use cache across feature branches](./tips-and-workarounds.md#use-cache-across-feature-branches) | ||||
| - [Improving cache restore performance on Windows/Using cross-os caching](./tips-and-workarounds.md#improving-cache-restore-performance-on-windows-using-cross-os-caching) | ||||
| - [Force deletion of caches overriding default cache eviction policy](./tips-and-workarounds.md#force-deletion-of-caches-overriding-default-cache-eviction-policy) | ||||
|  | ||||
| #### Windows environment variables | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Sampark Sharma
					Sampark Sharma