mirror of
				https://github.com/actions/cache.git
				synced 2025-10-31 18:34:19 +08:00 
			
		
		
		
	
		
			
				
	
	
		
			36 lines
		
	
	
		
			695 B
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
			
		
		
	
	
			36 lines
		
	
	
		
			695 B
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
| export enum Inputs {
 | |
|     Key = "key",
 | |
|     Path = "path",
 | |
|     RestoreKeys = "restore-keys"
 | |
| }
 | |
| 
 | |
| export enum Outputs {
 | |
|     CacheHit = "cache-hit"
 | |
| }
 | |
| 
 | |
| export enum State {
 | |
|     CacheKey = "CACHE_KEY",
 | |
|     CacheResult = "CACHE_RESULT"
 | |
| }
 | |
| 
 | |
| export enum Events {
 | |
|     Key = "GITHUB_EVENT_NAME",
 | |
|     Push = "push",
 | |
|     PullRequest = "pull_request"
 | |
| }
 | |
| 
 | |
| export enum CacheFilename {
 | |
|     Gzip = "cache.tgz",
 | |
|     Zstd = "cache.tzst"
 | |
| }
 | |
| 
 | |
| export enum CompressionMethod {
 | |
|     Gzip = "gzip",
 | |
|     Zstd = "zstd"
 | |
| }
 | |
| 
 | |
| // Socket timeout in milliseconds during download.  If no traffic is received
 | |
| // over the socket during this period, the socket is destroyed and the download
 | |
| // is aborted.
 | |
| export const SocketTimeout = 5000;
 | 
