2019-11-12 22:01:15 +00:00
|
|
|
export enum Inputs {
|
2022-12-21 14:08:44 +00:00
|
|
|
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 11:19:13 +00:00
|
|
|
UploadChunkSize = "upload-chunk-size", // Input for cache, save action
|
2023-01-30 11:10:58 +00:00
|
|
|
EnableCrossOsArchive = "enableCrossOsArchive", // Input for cache, restore, save action
|
2023-03-09 12:30:28 +00:00
|
|
|
FailOnCacheMiss = "fail-on-cache-miss", // Input for cache, restore action
|
2023-08-31 17:04:54 +00:00
|
|
|
LookupOnly = "lookup-only", // Input for cache, restore action
|
2022-02-14 09:51:41 +00: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 18:48:49 +00:00
|
|
|
}
|
|
|
|
|
|
2019-11-12 22:01:15 +00:00
|
|
|
export enum Outputs {
|
2022-12-21 14:08:44 +00:00
|
|
|
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 18:48:49 +00:00
|
|
|
}
|
|
|
|
|
|
2019-11-12 22:01:15 +00:00
|
|
|
export enum State {
|
2020-05-19 17:46:58 +00:00
|
|
|
CachePrimaryKey = "CACHE_KEY",
|
|
|
|
|
CacheMatchedKey = "CACHE_RESULT"
|
2019-10-30 18:48:49 +00:00
|
|
|
}
|
2019-11-13 15:54:39 +00:00
|
|
|
|
|
|
|
|
export enum Events {
|
|
|
|
|
Key = "GITHUB_EVENT_NAME",
|
|
|
|
|
Push = "push",
|
|
|
|
|
PullRequest = "pull_request"
|
|
|
|
|
}
|
2020-03-20 20:02:11 +00:00
|
|
|
|
2020-04-17 19:46:46 +00:00
|
|
|
export const RefKey = "GITHUB_REF";
|