npm run build

This commit is contained in:
Mikhail Katychev 2022-02-16 12:21:52 -06:00
parent 54f20c8e9b
commit 0eb8a70da9
No known key found for this signature in database
GPG key ID: 9E8549CD2CEB5E59
2 changed files with 14 additions and 2 deletions

7
dist/save/index.js vendored
View file

@ -4610,6 +4610,7 @@ var Inputs;
var Outputs;
(function (Outputs) {
Outputs["CacheHit"] = "cache-hit";
Outputs["CacheRestored"] = "cache-restored";
})(Outputs = exports.Outputs || (exports.Outputs = {}));
var State;
(function (State) {
@ -36294,7 +36295,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
return result;
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.getInputAsInt = exports.getInputAsArray = exports.isValidEvent = exports.logWarning = exports.getCacheState = exports.setOutputAndState = exports.setCacheHitOutput = exports.setCacheState = exports.isExactKeyMatch = exports.isGhes = void 0;
exports.getInputAsInt = exports.getInputAsArray = exports.isValidEvent = exports.logWarning = exports.getCacheState = exports.setOutputAndState = exports.setCacheRestoredOutput = exports.setCacheHitOutput = exports.setCacheState = exports.isExactKeyMatch = exports.isGhes = void 0;
const core = __importStar(__webpack_require__(470));
const constants_1 = __webpack_require__(196);
function isGhes() {
@ -36317,6 +36318,10 @@ function setCacheHitOutput(isCacheHit) {
core.setOutput(constants_1.Outputs.CacheHit, isCacheHit.toString());
}
exports.setCacheHitOutput = setCacheHitOutput;
function setCacheRestoredOutput(isCacheRestored) {
core.setOutput(constants_1.Outputs.CacheRestored, isCacheRestored.toString());
}
exports.setCacheRestoredOutput = setCacheRestoredOutput;
function setOutputAndState(key, cacheKey) {
setCacheHitOutput(isExactKeyMatch(key, cacheKey));
// Store the matched cache key if it exists