mirror of
https://code.forgejo.org/actions/cache.git
synced 2025-05-23 07:44:45 +00:00
Fix save-always/post-if with an output
This commit is contained in:
parent
0c45773b62
commit
7214f3c546
6 changed files with 65 additions and 16 deletions
|
@ -5,13 +5,15 @@ export enum Inputs {
|
|||
UploadChunkSize = "upload-chunk-size", // Input for cache, save action
|
||||
EnableCrossOsArchive = "enableCrossOsArchive", // Input for cache, restore, save action
|
||||
FailOnCacheMiss = "fail-on-cache-miss", // Input for cache, restore action
|
||||
LookupOnly = "lookup-only" // Input for cache, restore action
|
||||
LookupOnly = "lookup-only", // Input for cache, restore action
|
||||
SaveAlways = "save-always" // Input for cache action
|
||||
}
|
||||
|
||||
export enum Outputs {
|
||||
CacheHit = "cache-hit", // Output from cache, restore action
|
||||
CachePrimaryKey = "cache-primary-key", // Output from restore action
|
||||
CacheMatchedKey = "cache-matched-key" // Output from restore action
|
||||
CacheMatchedKey = "cache-matched-key", // Output from restore action
|
||||
SaveAlways = "save-always-d18d746b9" // Output from cache action, with unique suffix for detection in post-if
|
||||
}
|
||||
|
||||
export enum State {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue