1
0
Fork 0
mirror of https://code.forgejo.org/actions/cache.git synced 2024-11-13 00:26:17 +01:00
cache/src/constants.ts

25 lines
414 B
TypeScript
Raw 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 {
CacheKey = "CACHE_KEY",
CacheResult = "CACHE_RESULT"
2019-10-30 19:48:49 +01:00
}
export enum Events {
Key = "GITHUB_EVENT_NAME",
Push = "push",
PullRequest = "pull_request"
}
export const CacheFilename = "cache.tgz";
export const SocketTimeout = 5000;