mirror of
https://github.com/actions/cache.git
synced 2026-10-02 01:21:43 +00:00
Provide better errors for unsupported event types (#68)
* Validate event type during restore * PR Feedback * Format * Linting
This commit is contained in:
1 parent
50a2fdee6f
commit
b7d83b4095
4 files changed
+134
-3
No files matched your search
@@ -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