Skip to content

Commit 4004f33

Browse files
committed
Is version.sbt still being included...
1 parent f228ab5 commit 4004f33

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/cache.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,13 +93,15 @@ async function computeCacheKey(
9393
const pattern = cacheDependencyPath
9494
? cacheDependencyPath.trim().split('\n')
9595
: packageManager.pattern;
96-
const fileHash = await glob.hashFiles(pattern.join('\n'));
96+
const fileHash = await glob.hashFiles(pattern.join('\n'), verbose = true);
9797
if (!fileHash) {
9898
throw new Error(
9999
`No file in ${process.cwd()} matched to [${pattern}], make sure you have checked out the target repository`
100100
);
101101
}
102-
return `${CACHE_KEY_PREFIX}-${process.env['RUNNER_OS']}-${packageManager.id}-${fileHash}`;
102+
let cacheKey: string = `${CACHE_KEY_PREFIX}-${process.env['RUNNER_OS']}-${packageManager.id}-${fileHash}`;
103+
core.log(`cacheKey is ${cacheKey}`);
104+
return cacheKey;
103105
}
104106

105107
/**

0 commit comments

Comments
 (0)