mirror of
				https://github.com/actions/cache.git
				synced 2025-11-04 15:48:39 +08:00 
			
		
		
		
	
		
			
				
	
	
		
			24 lines
		
	
	
		
			426 B
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
			
		
		
	
	
			24 lines
		
	
	
		
			426 B
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
export enum Inputs {
 | 
						|
    Key = "key",
 | 
						|
    Path = "path",
 | 
						|
    RestoreKeys = "restore-keys",
 | 
						|
    UploadChunkSize = "upload-chunk-size"
 | 
						|
}
 | 
						|
 | 
						|
export enum Outputs {
 | 
						|
    CacheHit = "cache-hit"
 | 
						|
}
 | 
						|
 | 
						|
export enum State {
 | 
						|
    CachePrimaryKey = "CACHE_KEY",
 | 
						|
    CacheMatchedKey = "CACHE_RESULT"
 | 
						|
}
 | 
						|
 | 
						|
export enum Events {
 | 
						|
    Key = "GITHUB_EVENT_NAME",
 | 
						|
    Push = "push",
 | 
						|
    PullRequest = "pull_request"
 | 
						|
}
 | 
						|
 | 
						|
export const RefKey = "GITHUB_REF";
 |