diff --git a/dist/cache-save/index.js b/dist/cache-save/index.js index b3a950ff..57fbda55 100644 --- a/dist/cache-save/index.js +++ b/dist/cache-save/index.js @@ -83729,6 +83729,7 @@ const cachePackages = (packageManager) => __awaiter(void 0, void 0, void 0, func return; } core.info(`Cache saved with the key: ${primaryKey}`); + core.setOutput('cache-key', primaryKey); }); run(true); diff --git a/dist/setup/index.js b/dist/setup/index.js index 5d7eb1e5..962b6896 100644 --- a/dist/setup/index.js +++ b/dist/setup/index.js @@ -93326,6 +93326,7 @@ const restoreCache = (packageManager, cacheDependencyPath) => __awaiter(void 0, const primaryKey = `${keyPrefix}-${fileHash}`; core.debug(`primary key is ${primaryKey}`); core.saveState(constants_1.State.CachePrimaryKey, primaryKey); + core.setOutput('cache-key', primaryKey); const isManagedByYarnBerry = yield (0, cache_utils_1.repoHasYarnBerryManagedDependencies)(packageManagerInfo, cacheDependencyPath); let cacheKey; if (isManagedByYarnBerry) {