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