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