mirror of
https://code.forgejo.org/actions/cache.git
synced 2025-03-14 12:01:28 +01:00
25 lines
544 B
TypeScript
25 lines
544 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"
|
|
}
|
|
|
|
// 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;
|