@@ -4935,8 +4935,6 @@ var Inputs;
49354935var Outputs;
49364936(function (Outputs) {
49374937 Outputs["CacheHit"] = "cache-hit";
4938- Outputs["ExactCacheHit"] = "exact-cache-hit";
4939- Outputs["FuzzyCacheHit"] = "fuzzy-cache-hit";
49404938})(Outputs = exports.Outputs || (exports.Outputs = {}));
49414939var State;
49424940(function (State) {
@@ -38384,7 +38382,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
3838438382 return result;
3838538383};
3838638384Object.defineProperty(exports, "__esModule", { value: true });
38387- exports.isCacheFeatureAvailable = exports.getInputAsInt = exports.getInputAsArray = exports.isValidEvent = exports.logWarning = exports.getCacheState = exports.setOutputAndState = exports.setFuzzyCacheHitOutput = exports.setExactCacheHitOutput = exports. setCacheHitOutput = exports.setCacheState = exports.isExactKeyMatch = exports.isGhes = void 0;
38385+ exports.isCacheFeatureAvailable = exports.getInputAsInt = exports.getInputAsArray = exports.isValidEvent = exports.logWarning = exports.getCacheState = exports.setOutputAndState = exports.setCacheHitOutput = exports.setCacheState = exports.isExactKeyMatch = exports.isGhes = void 0;
3838838386const cache = __importStar(__webpack_require__(692));
3838938387const core = __importStar(__webpack_require__(470));
3839038388const constants_1 = __webpack_require__(196);
@@ -38408,14 +38406,6 @@ function setCacheHitOutput(isCacheHit) {
3840838406 core.setOutput(constants_1.Outputs.CacheHit, isCacheHit.toString());
3840938407}
3841038408exports.setCacheHitOutput = setCacheHitOutput;
38411- function setExactCacheHitOutput(isCacheHit) {
38412- core.setOutput(constants_1.Outputs.ExactCacheHit, isCacheHit.toString());
38413- }
38414- exports.setExactCacheHitOutput = setExactCacheHitOutput;
38415- function setFuzzyCacheHitOutput(isCacheHit) {
38416- core.setOutput(constants_1.Outputs.FuzzyCacheHit, isCacheHit.toString());
38417- }
38418- exports.setFuzzyCacheHitOutput = setFuzzyCacheHitOutput;
3841938409function setOutputAndState(key, cacheKey) {
3842038410 setCacheHitOutput(isExactKeyMatch(key, cacheKey));
3842138411 // Store the matched cache key if it exists
@@ -48966,8 +48956,6 @@ function run() {
4896648956 try {
4896748957 if (!utils.isCacheFeatureAvailable()) {
4896848958 utils.setCacheHitOutput(false);
48969- utils.setExactCacheHitOutput(false);
48970- utils.setFuzzyCacheHitOutput(false);
4897148959 return;
4897248960 }
4897348961 // Validate inputs, this can cause task failure
@@ -48992,9 +48980,7 @@ function run() {
4899248980 // Store the matched cache key
4899348981 utils.setCacheState(cacheKey);
4899448982 const isExactKeyMatch = utils.isExactKeyMatch(primaryKey, cacheKey);
48995- utils.setCacheHitOutput(true);
48996- utils.setExactCacheHitOutput(isExactKeyMatch);
48997- utils.setFuzzyCacheHitOutput(!isExactKeyMatch);
48983+ utils.setCacheHitOutput(isExactKeyMatch);
4899848984 core.info(`Cache restored from key: ${cacheKey}`);
4899948985 }
4900048986 catch (error) {
0 commit comments