mirror of
https://code.forgejo.org/actions/cache.git
synced 2024-11-17 08:01:49 +01:00
29 lines
593 B
TypeScript
29 lines
593 B
TypeScript
export enum Inputs {
|
|
Key = "key",
|
|
Path = "path",
|
|
RestoreKeys = "restore-keys",
|
|
UploadChunkSize = "upload-chunk-size",
|
|
StrictRestore = "strict-restore",
|
|
SaveOnAnyFailure = "save-on-any-failure"
|
|
}
|
|
|
|
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 enum Variables {
|
|
SaveCacheOnAnyFailure = "SAVE_CACHE_ON_ANY_FAILURE"
|
|
}
|
|
|
|
export const RefKey = "GITHUB_REF";
|