cache/src/constants.ts

23 lines
378 B
TypeScript
Raw Normal View History

2019-11-13 06:01:15 +08:00
export enum Inputs {
Key = "key",
Path = "path",
RestoreKeys = "restore-keys"
2019-10-31 02:48:49 +08:00
}
2019-11-13 06:01:15 +08:00
export enum Outputs {
CacheHit = "cache-hit"
2019-10-31 02:48:49 +08:00
}
2019-11-13 06:01:15 +08:00
export enum State {
CacheKey = "CACHE_KEY",
CacheResult = "CACHE_RESULT"
2019-10-31 02:48:49 +08:00
}
export enum Events {
Key = "GITHUB_EVENT_NAME",
Push = "push",
PullRequest = "pull_request"
}
export const CacheFilename = "cache.tgz";