Skip to content

Commit

Permalink
print info message if some paths are missing in cache
Browse files Browse the repository at this point in the history
Fixes: NSL-2698
  • Loading branch information
gmichelo committed Jan 31, 2024
1 parent b6c31e8 commit 9893b50
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dist/index/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -27073,7 +27073,7 @@ async function main() {
const fullHit = cacheMisses.length === 0;
core.setOutput(Output_CacheHit, fullHit.toString());
if (!fullHit) {
core.warning(`Some cache paths missing: ${cacheMisses}.`);
core.info(`Some cache paths missing: ${cacheMisses}.`);
const failOnCacheMiss = core.getBooleanInput(Input_FailOnCacheMiss);
if (failOnCacheMiss) {
throw new Error(`Some cache paths missing: ${cacheMisses}.`);
Expand Down
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ async function main() {
core.setOutput(Output_CacheHit, fullHit.toString());

if (!fullHit) {
core.warning(`Some cache paths missing: ${cacheMisses}.`);
core.info(`Some cache paths missing: ${cacheMisses}.`);

const failOnCacheMiss = core.getBooleanInput(Input_FailOnCacheMiss);
if (failOnCacheMiss) {
Expand Down

0 comments on commit 9893b50

Please sign in to comment.