cache/src/constants.ts

24 lines
426 B
TypeScript
Raw Normal View History

2019-11-12 22:01:15 +00:00
export enum Inputs {
Key = "key",
Path = "path",
2020-10-02 15:59:55 +01:00
RestoreKeys = "restore-keys",
UploadChunkSize = "upload-chunk-size"
2019-10-30 18:48:49 +00:00
}
2019-11-12 22:01:15 +00:00
export enum Outputs {
CacheHit = "cache-hit"
2019-10-30 18:48:49 +00:00
}
2019-11-12 22:01:15 +00:00
export enum State {
CachePrimaryKey = "CACHE_KEY",
CacheMatchedKey = "CACHE_RESULT"
2019-10-30 18:48:49 +00:00
}
export enum Events {
Key = "GITHUB_EVENT_NAME",
Push = "push",
PullRequest = "pull_request"
}
2020-04-17 20:46:46 +01:00
export const RefKey = "GITHUB_REF";