mirror of
https://code.forgejo.org/actions/cache.git
synced 2025-04-21 00:03:58 +08:00
Fixed inputs
This commit is contained in:
parent
61aa90bfc3
commit
d91f5bd2fd
10 changed files with 95 additions and 44 deletions
|
@ -1,14 +1,15 @@
|
|||
export enum Inputs {
|
||||
Key = "key",
|
||||
Path = "path",
|
||||
RestoreKeys = "restore-keys",
|
||||
UploadChunkSize = "upload-chunk-size"
|
||||
Key = "key", // Input from cache, restore, save action
|
||||
Path = "path", // Input from cache, restore, save action
|
||||
RestoreKeys = "restore-keys", // Input from cache, restore action
|
||||
UploadChunkSize = "upload-chunk-size", // Input from cache, save action
|
||||
RestoredKey = "restored-key" // Input from save action
|
||||
}
|
||||
|
||||
export enum Outputs {
|
||||
CacheHit = "cache-hit",
|
||||
Key = "key",
|
||||
MatchedKey = "matched-key"
|
||||
CacheHit = "cache-hit", // Output from cache, restore action
|
||||
InputtedKey = "inputted-key", // Output from restore action
|
||||
MatchedKey = "matched-key" // Output from restore action
|
||||
}
|
||||
|
||||
export enum State {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue