| 
									
										
										
										
											2019-11-12 17:01:15 -05:00
										 |  |  | export enum Inputs { | 
					
						
							| 
									
										
										
										
											2022-12-11 13:33:36 +00:00
										 |  |  |     Key = "key", // Input for cache, restore, save action
 | 
					
						
							|  |  |  |     Path = "path", // Input for cache, restore, save action
 | 
					
						
							|  |  |  |     RestoreKeys = "restore-keys", // Input for cache, restore action
 | 
					
						
							|  |  |  |     UploadChunkSize = "upload-chunk-size" // Input for cache, save action
 | 
					
						
							| 
									
										
										
										
											2019-10-30 14:48:49 -04:00
										 |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2019-11-12 17:01:15 -05:00
										 |  |  | export enum Outputs { | 
					
						
							| 
									
										
										
										
											2022-12-09 13:56:33 +00:00
										 |  |  |     CacheHit = "cache-hit", // Output from cache, restore action
 | 
					
						
							| 
									
										
										
										
											2022-12-11 13:33:36 +00:00
										 |  |  |     CachePrimaryKey = "cache-primary-key", // Output from restore action
 | 
					
						
							| 
									
										
										
										
											2022-12-14 09:17:49 +00:00
										 |  |  |     CacheMatchedKey = "cache-matched-key" // Output from restore action
 | 
					
						
							| 
									
										
										
										
											2019-10-30 14:48:49 -04:00
										 |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2019-11-12 17:01:15 -05:00
										 |  |  | export enum State { | 
					
						
							| 
									
										
										
										
											2020-05-19 13:46:58 -04:00
										 |  |  |     CachePrimaryKey = "CACHE_KEY", | 
					
						
							|  |  |  |     CacheMatchedKey = "CACHE_RESULT" | 
					
						
							| 
									
										
										
										
											2019-10-30 14:48:49 -04:00
										 |  |  | } | 
					
						
							| 
									
										
										
										
											2019-11-13 10:54:39 -05:00
										 |  |  | 
 | 
					
						
							|  |  |  | export enum Events { | 
					
						
							|  |  |  |     Key = "GITHUB_EVENT_NAME", | 
					
						
							|  |  |  |     Push = "push", | 
					
						
							|  |  |  |     PullRequest = "pull_request" | 
					
						
							|  |  |  | } | 
					
						
							| 
									
										
										
										
											2020-03-20 13:02:11 -07:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2020-04-17 15:46:46 -04:00
										 |  |  | export const RefKey = "GITHUB_REF"; |