2019-11-12 17:01:15 -05:00
|
|
|
export enum Inputs {
|
2022-12-21 19:38:44 +05:30
|
|
|
Key = "key", // Input for cache, restore, save action
|
|
|
|
Path = "path", // Input for cache, restore, save action
|
|
|
|
RestoreKeys = "restore-keys", // Input for cache, restore action
|
2023-01-05 16:49:13 +05:30
|
|
|
UploadChunkSize = "upload-chunk-size", // Input for cache, save action
|
2023-01-30 12:10:58 +01:00
|
|
|
EnableCrossOsArchive = "enableCrossOsArchive", // Input for cache, restore, save action
|
2023-03-09 13:30:28 +01:00
|
|
|
FailOnCacheMiss = "fail-on-cache-miss", // Input for cache, restore action
|
2023-08-31 13:04:54 -04:00
|
|
|
LookupOnly = "lookup-only", // Input for cache, restore action
|
2022-02-14 18:51:41 +09:00
|
|
|
AWSS3Bucket = "aws-s3-bucket",
|
|
|
|
AWSAccessKeyId = "aws-access-key-id",
|
|
|
|
AWSSecretAccessKey = "aws-secret-access-key",
|
|
|
|
AWSRegion = "aws-region",
|
|
|
|
AWSEndpoint = "aws-endpoint",
|
|
|
|
AWSS3BucketEndpoint = "aws-s3-bucket-endpoint",
|
|
|
|
AWSS3ForcePathStyle = "aws-s3-force-path-style"
|
2019-10-30 14:48:49 -04:00
|
|
|
}
|
|
|
|
|
2019-11-12 17:01:15 -05:00
|
|
|
export enum Outputs {
|
2022-12-21 19:38:44 +05:30
|
|
|
CacheHit = "cache-hit", // Output from cache, restore action
|
|
|
|
CachePrimaryKey = "cache-primary-key", // Output from restore action
|
|
|
|
CacheMatchedKey = "cache-matched-key" // Output from restore action
|
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 13:02:11 -07:00
|
|
|
|
2020-04-17 15:46:46 -04:00
|
|
|
export const RefKey = "GITHUB_REF";
|