diff --git a/dist/save-cache/index.js b/dist/save-cache/index.js index 9a7bf37..1e81960 100644 --- a/dist/save-cache/index.js +++ b/dist/save-cache/index.js @@ -82336,7 +82336,7 @@ function computeKeys(version) { core.info(`Searching files using cache dependency glob: ${inputs_1.cacheDependencyGlob.split("\n").join(",")}`); cacheDependencyPathHash += yield (0, hash_files_1.hashFiles)(inputs_1.cacheDependencyGlob, true); if (cacheDependencyPathHash === "-") { - throw new Error(`No file matched to [${inputs_1.cacheDependencyGlob.split("\n").join(",")}], make sure you have checked out the target repository`); + throw new Error(`No file matched to [${inputs_1.cacheDependencyGlob.split("\n").join(",")}], make sure you have checked out the target repository and configured the cache-dependency-glob input correctly.`); } } else { diff --git a/dist/setup/index.js b/dist/setup/index.js index 5701f59..e7bec76 100644 --- a/dist/setup/index.js +++ b/dist/setup/index.js @@ -87419,7 +87419,7 @@ function computeKeys(version) { core.info(`Searching files using cache dependency glob: ${inputs_1.cacheDependencyGlob.split("\n").join(",")}`); cacheDependencyPathHash += yield (0, hash_files_1.hashFiles)(inputs_1.cacheDependencyGlob, true); if (cacheDependencyPathHash === "-") { - throw new Error(`No file matched to [${inputs_1.cacheDependencyGlob.split("\n").join(",")}], make sure you have checked out the target repository`); + throw new Error(`No file matched to [${inputs_1.cacheDependencyGlob.split("\n").join(",")}], make sure you have checked out the target repository and configured the cache-dependency-glob input correctly.`); } } else { diff --git a/src/cache/restore-cache.ts b/src/cache/restore-cache.ts index c4067d2..134b98b 100644 --- a/src/cache/restore-cache.ts +++ b/src/cache/restore-cache.ts @@ -42,7 +42,7 @@ async function computeKeys(version: string): Promise { 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 {