mirror of
https://github.com/actions/cache.git
synced 2025-04-21 11:36:45 +00:00
Provide better errors for unsupported event types (#68)
* Validate event type during restore * PR Feedback * Format * Linting
This commit is contained in:
parent
50a2fdee6f
commit
b7d83b4095
4 changed files with 134 additions and 3 deletions
|
@ -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"
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue