work on resolving comments

This commit is contained in:
Dmitry Shibanov 2021-06-25 12:06:49 +03:00
parent f2b87bb2c2
commit d36a3314a5
9 changed files with 10 additions and 10 deletions

View file

@ -50583,8 +50583,8 @@ const constants_1 = __webpack_require__(196);
const cache_utils_1 = __webpack_require__(452);
function run() {
return __awaiter(this, void 0, void 0, function* () {
const cacheLock = core.getInput('cache');
try {
const cacheLock = core.getInput('cache');
yield cachePackages(cacheLock);
}
catch (error) {

2
dist/setup/index.js vendored
View file

@ -42732,7 +42732,7 @@ exports.restoreCache = (packageManager) => __awaiter(void 0, void 0, void 0, fun
const cachePath = yield cache_utils_1.getCacheDirectoryPath(packageManagerInfo, packageManager);
const lockFilePath = findLockFile(packageManagerInfo);
const fileHash = yield glob.hashFiles(lockFilePath);
const primaryKey = `${platform}-${packageManager}-${fileHash}`;
const primaryKey = `node-cache-${platform}-${packageManager}-${fileHash}`;
core.debug(`primary key is ${primaryKey}`);
core.saveState(constants_1.State.CachePrimaryKey, primaryKey);
const cacheKey = yield cache.restoreCache([cachePath], primaryKey);