Add hint why cache-dependency-glob fails (#184)

Make it clear which input can be used to solve the error

Contributes to: #181
This commit is contained in:
Kevin Stillhammer
2024-12-08 11:09:18 +01:00
committed by GitHub
parent 1e4d4ea9ff
commit bdcda7e77f
3 changed files with 3 additions and 3 deletions

View File

@ -42,7 +42,7 @@ async function computeKeys(version: string): Promise<string> {
cacheDependencyPathHash += await hashFiles(cacheDependencyGlob, true);
if (cacheDependencyPathHash === "-") {
throw new Error(
`No file matched to [${cacheDependencyGlob.split("\n").join(",")}], make sure you have checked out the target repository`,
`No file matched to [${cacheDependencyGlob.split("\n").join(",")}], make sure you have checked out the target repository and configured the cache-dependency-glob input correctly.`,
);
}
} else {