mirror of
				https://gitea.com/actions/cache.git
				synced 2025-10-31 07:47:07 +00:00 
			
		
		
		
	Provide better errors for unsupported event types (#68)
* Validate event type during restore * PR Feedback * Format * Linting
This commit is contained in:
		| @@ -12,3 +12,9 @@ export enum State { | ||||
|     CacheKey = "CACHE_KEY", | ||||
|     CacheResult = "CACHE_RESULT" | ||||
| } | ||||
|  | ||||
| export enum Events { | ||||
|     Key = "GITHUB_EVENT_NAME", | ||||
|     Push = "push", | ||||
|     PullRequest = "pull_request" | ||||
| } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Josh Gross
					Josh Gross