From cb7e1d2c4a50e8da6cb3dc1c3b46f5f2d31ba474 Mon Sep 17 00:00:00 2001 From: erezrokah Date: Fri, 2 Jun 2023 14:50:24 +0200 Subject: [PATCH] fix: Update dist --- dist/setup/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dist/setup/index.js b/dist/setup/index.js index c575a6a..4804d2e 100644 --- a/dist/setup/index.js +++ b/dist/setup/index.js @@ -63043,8 +63043,8 @@ const restoreCache = (versionSpec, packageManager, cacheDependencyPath) => __awa if (!fileHash) { throw new Error('Some specified paths were not resolved, unable to cache dependencies.'); } - const cacheKeyPrefix = core.getInput('cache-key-prefix') || ''; - const primaryKey = `${cacheKeyPrefix}setup-go-${platform}-go-${versionSpec}-${fileHash}`; + const cacheKeyPrefix = core.getInput('cache-key-prefix') || 'setup-go'; + const primaryKey = `${cacheKeyPrefix}-${platform}-go-${versionSpec}-${fileHash}`; core.debug(`primary key is ${primaryKey}`); core.saveState(constants_1.State.CachePrimaryKey, primaryKey); const cacheKey = yield cache.restoreCache(cachePaths, primaryKey);