1
0
Fork 0
mirror of https://github.com/actions/cache.git synced 2025-07-06 08:32:53 +00:00
cache/src/constants.ts
2020-04-28 21:31:41 -04:00

27 lines
587 B
TypeScript

export enum Inputs {
Key = "key",
Path = "path",
RestoreKeys = "restore-keys"
}
export enum Outputs {
CacheHit = "cache-hit"
}
export enum State {
CacheKey = "CACHE_KEY",
CacheResult = "CACHE_RESULT"
}
export enum Events {
Key = "GITHUB_EVENT_NAME",
Push = "push",
PullRequest = "pull_request"
}
export const CacheFilename = "cache.tgz";
// Socket timeout in milliseconds during download. If no traffic is received
// over the socket during this period, the socket is destroyed and the download
// is aborted.
export const SocketTimeout = 5000;