1
0
mirror of https://github.com/actions/cache.git synced 2025-07-14 00:55:22 +08:00
cache/src/constants.ts
2022-12-08 17:39:12 +00:00

26 lines
475 B
TypeScript

export enum Inputs {
Key = "key",
Path = "path",
RestoreKeys = "restore-keys",
UploadChunkSize = "upload-chunk-size"
}
export enum Outputs {
CacheHit = "cache-hit",
Key = "key",
MatchedKey = "matched-key"
}
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";