From a04a8ba00a55145fd73eec30d4c0145bb44282b5 Mon Sep 17 00:00:00 2001 From: Evgenii Korolevskii Date: Fri, 20 Jan 2023 01:41:25 +0100 Subject: [PATCH] build debug log --- dist/setup/index.js | 1 + src/cache-distributions/pip-cache.ts | 1 + 2 files changed, 2 insertions(+) diff --git a/dist/setup/index.js b/dist/setup/index.js index 4cf27679..0eda8334 100644 --- a/dist/setup/index.js +++ b/dist/setup/index.js @@ -65944,6 +65944,7 @@ class PipCache extends cache_distributor_1.default { computeKeys() { return __awaiter(this, void 0, void 0, function* () { const hash = yield glob.hashFiles(this.cacheDependencyPath); + core.info(`Cache key hash: ${hash}, path: ${this.cacheDependencyPath}`); let primaryKey = ''; let restoreKey = ''; if (utils_1.IS_LINUX) { diff --git a/src/cache-distributions/pip-cache.ts b/src/cache-distributions/pip-cache.ts index 25b29c66..aedd3e0d 100644 --- a/src/cache-distributions/pip-cache.ts +++ b/src/cache-distributions/pip-cache.ts @@ -57,6 +57,7 @@ class PipCache extends CacheDistributor { protected async computeKeys() { const hash = await glob.hashFiles(this.cacheDependencyPath); + core.info(`Cache key hash: ${hash}, path: ${this.cacheDependencyPath}`); let primaryKey = ''; let restoreKey = '';