1
0
mirror of https://github.com/actions/cache.git synced 2025-07-04 19:32:49 +08:00
cache/src/constants.ts
Mikhail Katychev 54f20c8e9b
added ts code
2022-02-16 12:17:31 -06:00

25 lines
464 B
TypeScript

export enum Inputs {
Key = "key",
Path = "path",
RestoreKeys = "restore-keys",
UploadChunkSize = "upload-chunk-size"
}
export enum Outputs {
CacheHit = "cache-hit",
CacheRestored = "cache-restored"
}
export enum State {
CachePrimaryKey = "CACHE_KEY",
CacheMatchedKey = "CACHE_RESULT"
}
export enum Events {
Key = "GITHUB_EVENT_NAME",
Push = "push",
PullRequest = "pull_request"
}
export const RefKey = "GITHUB_REF";