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:
parent
971fd2148b
commit
eaa768e3b0
|
@ -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");
|
||||
|
|
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue