You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
cache/src/constants.ts

27 lines
551 B
TypeScript

export enum Inputs {
Key = "key",
Path = "path",
RestoreKeys = "restore-keys",
UploadChunkSize = "upload-chunk-size",
StrictRestore = "strict-restore",
SaveCacheOnAnyFailure = "save-cache-on-any-failure"
}
export enum Outputs {
CacheHit = "cache-hit"
}
export enum State {
CachePrimaryKey = "CACHE_KEY",
CacheMatchedKey = "CACHE_RESULT",
SaveCache = "SAVE_CACHE"
}
export enum Events {
Key = "GITHUB_EVENT_NAME",
Push = "push",
PullRequest = "pull_request"
}
export const RefKey = "GITHUB_REF";