From 82af78e9c4ce2d74a0234563ff7aff7a60daa695 Mon Sep 17 00:00:00 2001 From: Alex Dunae Date: Tue, 14 Jan 2025 10:46:08 -0800 Subject: [PATCH] Add dist --- dist/cache-save/index.js | 1 + dist/setup/index.js | 1 + 2 files changed, 2 insertions(+) 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) {