mirror of
https://code.forgejo.org/actions/cache.git
synced 2024-11-30 02:10:56 -05:00
22 lines
383 B
TypeScript
22 lines
383 B
TypeScript
export enum Inputs {
|
|
Key = "key",
|
|
Path = "path",
|
|
RestoreKeys = "restore-keys"
|
|
}
|
|
|
|
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";
|