mirror of
https://code.forgejo.org/actions/cache.git
synced 2025-04-24 01:33:55 +08: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
2
dist/save/index.js
vendored
2
dist/save/index.js
vendored
|
@ -4948,6 +4948,7 @@ var Inputs;
|
|||
Inputs["RestoreKeys"] = "restore-keys";
|
||||
Inputs["UploadChunkSize"] = "upload-chunk-size";
|
||||
Inputs["StrictRestore"] = "strict-restore";
|
||||
Inputs["SaveCacheOnAnyFailure"] = "save-cache-on-any-failure";
|
||||
})(Inputs = exports.Inputs || (exports.Inputs = {}));
|
||||
var Outputs;
|
||||
(function (Outputs) {
|
||||
|
@ -4957,6 +4958,7 @@ var State;
|
|||
(function (State) {
|
||||
State["CachePrimaryKey"] = "CACHE_KEY";
|
||||
State["CacheMatchedKey"] = "CACHE_RESULT";
|
||||
State["SaveCache"] = "SAVE_CACHE";
|
||||
})(State = exports.State || (exports.State = {}));
|
||||
var Events;
|
||||
(function (Events) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue