Permalink
Cannot retrieve contributors at this time
35 lines (29 sloc)
702 Bytes
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
github-actions-cache/src/constants.ts
Go to fileThis commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 enum CacheFilename { | |
Gzip = "cache.tgz", | |
Zstd = "cache.tzst" | |
} | |
export enum CompressionMethod { | |
Gzip = "gzip", | |
Zstd = "zstd" | |
} | |
// 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 DefaultSocketTimeout = 5000; |