Added logic fo saving cache on any failure

This commit is contained in:
Sankalp Kotewar 2022-11-21 08:35:34 +00:00 committed by GitHub
commit 885d768356
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 22 additions and 2 deletions

View file

@ -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 {