Rebuild action with some small changes.

Changes were applied to some debug messages.
pull/228/head
Ivan Zosimov (Akvelon INC) 3 years ago
parent 8dd60badf6
commit d450effe85

@ -34255,7 +34255,7 @@ exports.restoreCache = (packageManager, cacheDependencyPath) => __awaiter(void 0
const cacheKey = yield cache.restoreCache([cachePath], primaryKey);
core.setOutput('cache-hit', Boolean(cacheKey));
if (!cacheKey) {
core.info(`${packageManager} cache is not found`);
core.info(`Cache is not found`);
return;
}
core.saveState(constants_1.State.CacheMatchedKey, cacheKey);

@ -40,7 +40,7 @@ export const restoreCache = async (
core.setOutput('cache-hit', Boolean(cacheKey));
if (!cacheKey) {
core.info(`${packageManager} cache is not found`);
core.info(`Cache is not found`);
return;
}

@ -21,7 +21,6 @@ export async function run() {
}
const cachePackages = async () => {
const cachingFlag = core.getInput('cache');
if (!cachingFlag) return;

@ -1,4 +1,3 @@
import * as core from '@actions/core';
import * as exec from '@actions/exec';
export interface PackageManagerInfo {

Loading…
Cancel
Save