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