2019-11-13 06:01:15 +08:00
|
|
|
export enum Inputs {
|
|
|
|
Key = "key",
|
|
|
|
Path = "path",
|
2020-10-02 22:59:55 +08:00
|
|
|
RestoreKeys = "restore-keys",
|
2022-11-25 17:16:56 +08:00
|
|
|
UploadChunkSize = "upload-chunk-size",
|
2022-11-30 16:26:50 +08:00
|
|
|
FailOnCacheMiss = "fail-on-cache-miss",
|
2022-11-25 17:16:56 +08:00
|
|
|
SaveOnAnyFailure = "save-on-any-failure"
|
2019-10-31 02:48:49 +08:00
|
|
|
}
|
|
|
|
|
2019-11-13 06:01:15 +08:00
|
|
|
export enum Outputs {
|
|
|
|
CacheHit = "cache-hit"
|
2019-10-31 02:48:49 +08:00
|
|
|
}
|
|
|
|
|
2019-11-13 06:01:15 +08:00
|
|
|
export enum State {
|
2020-05-20 01:46:58 +08:00
|
|
|
CachePrimaryKey = "CACHE_KEY",
|
|
|
|
CacheMatchedKey = "CACHE_RESULT"
|
2019-10-31 02:48:49 +08:00
|
|
|
}
|
2019-11-13 23:54:39 +08:00
|
|
|
|
|
|
|
export enum Events {
|
|
|
|
Key = "GITHUB_EVENT_NAME",
|
|
|
|
Push = "push",
|
|
|
|
PullRequest = "pull_request"
|
|
|
|
}
|
2020-03-21 04:02:11 +08:00
|
|
|
|
2022-11-25 17:16:56 +08:00
|
|
|
export enum Variables {
|
|
|
|
SaveCacheOnAnyFailure = "SAVE_CACHE_ON_ANY_FAILURE"
|
|
|
|
}
|
|
|
|
|
2020-04-18 03:46:46 +08:00
|
|
|
export const RefKey = "GITHUB_REF";
|