3
0
Fork 0
mirror of https://github.com/Swatinem/rust-cache synced 2025-04-18 09:49:02 +00:00

Add info logs for package detection

This commit is contained in:
Nick Mosher 2022-07-08 21:35:29 -04:00
parent 971fd2148b
commit eaa768e3b0
2 changed files with 2 additions and 0 deletions

View file

@ -34,6 +34,7 @@ async function run() {
if (restoreKey !== key) {
// pre-clean the target directory on cache mismatch
const packages = await getPackages(workspaces);
core.info("Restoring the following repository packages: " + JSON.stringify(packages));
for (const workspace of workspaces) {
const target = path.join(workspace, "target");

View file

@ -36,6 +36,7 @@ async function run() {
const registryName = await getRegistryName();
const packages = await getPackages(workspaces);
core.info("Detected repository packages to cache: " + JSON.stringify(packages));
if (registryName) {
try {