1
0
Fork 0
mirror of https://code.forgejo.org/actions/cache.git synced 2025-04-12 08:57:48 +02:00
cache/src/constants.ts
2022-08-09 15:11:47 +01:00

24 lines
458 B
TypeScript

export enum Inputs {
Key = "key",
Path = "path",
RestoreKeys = "restore-keys",
UploadChunkSize = "upload-chunk-size",
SkipUpload = "skip-upload"
}
export enum Outputs {
CacheHit = "cache-hit"
}
export enum State {
CachePrimaryKey = "CACHE_KEY",
CacheMatchedKey = "CACHE_RESULT"
}
export enum Events {
Key = "GITHUB_EVENT_NAME",
Push = "push",
PullRequest = "pull_request"
}
export const RefKey = "GITHUB_REF";