mirror of
https://github.com/actions/cache.git
synced 2025-06-30 21:14:14 +00:00
Added logic fo saving cache on any failure
This commit is contained in:
parent
d3ebc46a6f
commit
885d768356
4 changed files with 22 additions and 2 deletions
|
@ -3,7 +3,8 @@ export enum Inputs {
|
|||
Path = "path",
|
||||
RestoreKeys = "restore-keys",
|
||||
UploadChunkSize = "upload-chunk-size",
|
||||
StrictRestore = "strict-restore"
|
||||
StrictRestore = "strict-restore",
|
||||
SaveCacheOnAnyFailure = "save-cache-on-any-failure"
|
||||
}
|
||||
|
||||
export enum Outputs {
|
||||
|
@ -12,7 +13,8 @@ export enum Outputs {
|
|||
|
||||
export enum State {
|
||||
CachePrimaryKey = "CACHE_KEY",
|
||||
CacheMatchedKey = "CACHE_RESULT"
|
||||
CacheMatchedKey = "CACHE_RESULT",
|
||||
SaveCache = "SAVE_CACHE"
|
||||
}
|
||||
|
||||
export enum Events {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue