From eb5e89cf798a44c1da52937a0a35811cd8ae4a35 Mon Sep 17 00:00:00 2001 From: Danny Gleckler Date: Fri, 7 Jun 2024 08:34:34 -0400 Subject: [PATCH] build --- dist/restore-only/index.js | 7 +++++-- dist/restore/index.js | 7 +++++-- dist/save-only/index.js | 6 ++++-- dist/save/index.js | 6 ++++-- 4 files changed, 18 insertions(+), 8 deletions(-) diff --git a/dist/restore-only/index.js b/dist/restore-only/index.js index 9a59ac0..d16d713 100644 --- a/dist/restore-only/index.js +++ b/dist/restore-only/index.js @@ -59324,13 +59324,15 @@ var Inputs; Inputs["UploadChunkSize"] = "upload-chunk-size"; Inputs["EnableCrossOsArchive"] = "enableCrossOsArchive"; Inputs["FailOnCacheMiss"] = "fail-on-cache-miss"; - Inputs["LookupOnly"] = "lookup-only"; // Input for cache, restore action + Inputs["LookupOnly"] = "lookup-only"; + Inputs["SaveAlways"] = "save-always"; // Input for cache action })(Inputs = exports.Inputs || (exports.Inputs = {})); var Outputs; (function (Outputs) { Outputs["CacheHit"] = "cache-hit"; Outputs["CachePrimaryKey"] = "cache-primary-key"; - Outputs["CacheMatchedKey"] = "cache-matched-key"; // Output from restore action + Outputs["CacheMatchedKey"] = "cache-matched-key"; + Outputs["SaveAlways"] = "save-always-d18d746b9"; // Output from cache action, with unique suffix for detection in post-if })(Outputs = exports.Outputs || (exports.Outputs = {})); var State; (function (State) { @@ -59394,6 +59396,7 @@ const stateProvider_1 = __nccwpck_require__(1527); const utils = __importStar(__nccwpck_require__(6850)); function restoreImpl(stateProvider, earlyExit) { return __awaiter(this, void 0, void 0, function* () { + core.setOutput(constants_1.Outputs.SaveAlways, core.getInput(constants_1.Inputs.SaveAlways) || "false"); try { if (!utils.isCacheFeatureAvailable()) { core.setOutput(constants_1.Outputs.CacheHit, "false"); diff --git a/dist/restore/index.js b/dist/restore/index.js index 03a12b5..e593b03 100644 --- a/dist/restore/index.js +++ b/dist/restore/index.js @@ -59324,13 +59324,15 @@ var Inputs; Inputs["UploadChunkSize"] = "upload-chunk-size"; Inputs["EnableCrossOsArchive"] = "enableCrossOsArchive"; Inputs["FailOnCacheMiss"] = "fail-on-cache-miss"; - Inputs["LookupOnly"] = "lookup-only"; // Input for cache, restore action + Inputs["LookupOnly"] = "lookup-only"; + Inputs["SaveAlways"] = "save-always"; // Input for cache action })(Inputs = exports.Inputs || (exports.Inputs = {})); var Outputs; (function (Outputs) { Outputs["CacheHit"] = "cache-hit"; Outputs["CachePrimaryKey"] = "cache-primary-key"; - Outputs["CacheMatchedKey"] = "cache-matched-key"; // Output from restore action + Outputs["CacheMatchedKey"] = "cache-matched-key"; + Outputs["SaveAlways"] = "save-always-d18d746b9"; // Output from cache action, with unique suffix for detection in post-if })(Outputs = exports.Outputs || (exports.Outputs = {})); var State; (function (State) { @@ -59394,6 +59396,7 @@ const stateProvider_1 = __nccwpck_require__(1527); const utils = __importStar(__nccwpck_require__(6850)); function restoreImpl(stateProvider, earlyExit) { return __awaiter(this, void 0, void 0, function* () { + core.setOutput(constants_1.Outputs.SaveAlways, core.getInput(constants_1.Inputs.SaveAlways) || "false"); try { if (!utils.isCacheFeatureAvailable()) { core.setOutput(constants_1.Outputs.CacheHit, "false"); diff --git a/dist/save-only/index.js b/dist/save-only/index.js index f542b2c..ab1a399 100644 --- a/dist/save-only/index.js +++ b/dist/save-only/index.js @@ -59324,13 +59324,15 @@ var Inputs; Inputs["UploadChunkSize"] = "upload-chunk-size"; Inputs["EnableCrossOsArchive"] = "enableCrossOsArchive"; Inputs["FailOnCacheMiss"] = "fail-on-cache-miss"; - Inputs["LookupOnly"] = "lookup-only"; // Input for cache, restore action + Inputs["LookupOnly"] = "lookup-only"; + Inputs["SaveAlways"] = "save-always"; // Input for cache action })(Inputs = exports.Inputs || (exports.Inputs = {})); var Outputs; (function (Outputs) { Outputs["CacheHit"] = "cache-hit"; Outputs["CachePrimaryKey"] = "cache-primary-key"; - Outputs["CacheMatchedKey"] = "cache-matched-key"; // Output from restore action + Outputs["CacheMatchedKey"] = "cache-matched-key"; + Outputs["SaveAlways"] = "save-always-d18d746b9"; // Output from cache action, with unique suffix for detection in post-if })(Outputs = exports.Outputs || (exports.Outputs = {})); var State; (function (State) { diff --git a/dist/save/index.js b/dist/save/index.js index f137655..4906ce9 100644 --- a/dist/save/index.js +++ b/dist/save/index.js @@ -59324,13 +59324,15 @@ var Inputs; Inputs["UploadChunkSize"] = "upload-chunk-size"; Inputs["EnableCrossOsArchive"] = "enableCrossOsArchive"; Inputs["FailOnCacheMiss"] = "fail-on-cache-miss"; - Inputs["LookupOnly"] = "lookup-only"; // Input for cache, restore action + Inputs["LookupOnly"] = "lookup-only"; + Inputs["SaveAlways"] = "save-always"; // Input for cache action })(Inputs = exports.Inputs || (exports.Inputs = {})); var Outputs; (function (Outputs) { Outputs["CacheHit"] = "cache-hit"; Outputs["CachePrimaryKey"] = "cache-primary-key"; - Outputs["CacheMatchedKey"] = "cache-matched-key"; // Output from restore action + Outputs["CacheMatchedKey"] = "cache-matched-key"; + Outputs["SaveAlways"] = "save-always-d18d746b9"; // Output from cache action, with unique suffix for detection in post-if })(Outputs = exports.Outputs || (exports.Outputs = {})); var State; (function (State) {