1
0
Fork 0
mirror of https://code.forgejo.org/actions/cache.git synced 2025-04-12 00:47:47 +02:00
cache/src/constants.ts

31 lines
722 B
TypeScript
Raw Normal View History

2019-11-12 17:01:15 -05:00
export enum Inputs {
Key = "key",
Path = "path",
2020-10-02 09:59:55 -05:00
RestoreKeys = "restore-keys",
2022-02-14 18:51:41 +09:00
UploadChunkSize = "upload-chunk-size",
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 {
CacheHit = "cache-hit"
2019-10-30 14:48:49 -04:00
}
2019-11-12 17:01:15 -05:00
export enum State {
CachePrimaryKey = "CACHE_KEY",
CacheMatchedKey = "CACHE_RESULT"
2019-10-30 14:48:49 -04:00
}
export enum Events {
Key = "GITHUB_EVENT_NAME",
Push = "push",
PullRequest = "pull_request"
}
2020-04-17 15:46:46 -04:00
export const RefKey = "GITHUB_REF";