1
0
Fork 0
mirror of https://code.forgejo.org/actions/cache.git synced 2025-04-04 13:37:46 +02:00

updated build files

This commit is contained in:
Sankalp Kotewar 2022-12-20 10:21:30 +00:00 committed by GitHub
parent 9ec16e95f3
commit 5931ce4de7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 10 additions and 10 deletions

View file

@ -1079,8 +1079,6 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod }; return (mod && mod.__esModule) ? mod : { "default": mod };
}; };
Object.defineProperty(exports, "__esModule", { value: true }); Object.defineProperty(exports, "__esModule", { value: true });
const cache_1 = __webpack_require__(692);
const core = __importStar(__webpack_require__(470));
const saveImpl_1 = __importDefault(__webpack_require__(471)); const saveImpl_1 = __importDefault(__webpack_require__(471));
const stateProvider_1 = __webpack_require__(309); const stateProvider_1 = __webpack_require__(309);
const utils = __importStar(__webpack_require__(443)); const utils = __importStar(__webpack_require__(443));
@ -1094,13 +1092,7 @@ function run() {
yield (0, saveImpl_1.default)(new stateProvider_1.NullStateProvider()); yield (0, saveImpl_1.default)(new stateProvider_1.NullStateProvider());
} }
catch (error) { catch (error) {
const typedError = error; utils.logWarning(error.message);
if (typedError.name === cache_1.ReserveCacheError.name) {
core.info(`Failed to save: ${typedError.message}`);
}
else {
utils.logWarning(error.message);
}
} }
}); });
} }

10
dist/save/index.js vendored
View file

@ -47196,6 +47196,8 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod }; return (mod && mod.__esModule) ? mod : { "default": mod };
}; };
Object.defineProperty(exports, "__esModule", { value: true }); Object.defineProperty(exports, "__esModule", { value: true });
const cache_1 = __webpack_require__(692);
const core = __importStar(__webpack_require__(470));
const saveImpl_1 = __importDefault(__webpack_require__(471)); const saveImpl_1 = __importDefault(__webpack_require__(471));
const stateProvider_1 = __webpack_require__(309); const stateProvider_1 = __webpack_require__(309);
const utils = __importStar(__webpack_require__(443)); const utils = __importStar(__webpack_require__(443));
@ -47209,7 +47211,13 @@ function run() {
yield (0, saveImpl_1.default)(new stateProvider_1.StateProvider()); yield (0, saveImpl_1.default)(new stateProvider_1.StateProvider());
} }
catch (error) { catch (error) {
utils.logWarning(error.message); const typedError = error;
if (typedError.name === cache_1.ReserveCacheError.name) {
core.info(`Failed to save: ${typedError.message}`);
}
else {
utils.logWarning(error.message);
}
} }
}); });
} }