mirror of
https://github.com/actions/setup-go.git
synced 2025-04-24 01:50:52 +00:00
fix: Update dist
This commit is contained in:
parent
847b9da5d2
commit
cb7e1d2c4a
1 changed files with 2 additions and 2 deletions
4
dist/setup/index.js
vendored
4
dist/setup/index.js
vendored
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue