cache/src/constants.ts

23 lines
383 B
TypeScript
Raw Permalink Normal View History

2019-11-12 23:01:15 +01:00
export enum Inputs {
Key = "key",
Path = "path",
RestoreKeys = "restore-keys"
2019-10-30 19:48:49 +01:00
}
2019-11-12 23:01:15 +01:00
export enum Outputs {
CacheHit = "cache-hit"
2019-10-30 19:48:49 +01:00
}
2019-11-12 23:01:15 +01:00
export enum State {
CachePrimaryKey = "CACHE_KEY",
CacheMatchedKey = "CACHE_RESULT"
2019-10-30 19:48:49 +01:00
}
export enum Events {
Key = "GITHUB_EVENT_NAME",
Push = "push",
PullRequest = "pull_request"
}
2020-04-17 21:46:46 +02:00
export const RefKey = "GITHUB_REF";