Skip to content
Permalink

Comparing changes

This is a direct comparison between two commits made in this repository or its related repositories. View the default comparison for this range or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: actions/setup-java
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 4cf1baf0a1ebf8ba082e441d2cd19f1efbcdf679
Choose a base ref
..
head repository: actions/setup-java
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 4004f336a63689077f047ec2946e76b2851521d9
Choose a head ref
Showing with 3 additions and 1 deletion.
  1. +3 −1 src/cache.ts
4 changes: 3 additions & 1 deletion src/cache.ts
Original file line number Diff line number Diff line change
@@ -99,7 +99,9 @@ async function computeCacheKey(
`No file in ${process.cwd()} matched to [${pattern}], make sure you have checked out the target repository`
);
}
return `${CACHE_KEY_PREFIX}-${process.env['RUNNER_OS']}-${packageManager.id}-${fileHash}`;
let cacheKey: string = `${CACHE_KEY_PREFIX}-${process.env['RUNNER_OS']}-${packageManager.id}-${fileHash}`;
core.log(`cacheKey is ${cacheKey}`);
return cacheKey;
}

/**