improve log output

This commit is contained in:
Arpad Borsos 2020-10-06 12:57:42 +02:00
parent b740ae5d3a
commit 5f6034beb8
4 changed files with 4 additions and 4 deletions

View File

@ -54705,7 +54705,7 @@ async function run() {
core.exportVariable("CARGO_INCREMENTAL", 0);
const start = Date.now();
const { paths, key, restoreKeys } = await getCacheConfig();
core.info(`Restoring paths:\n ${paths.join("\n ")}.`);
core.info(`Restoring paths:\n ${paths.join("\n ")}`);
core.info(`Using keys:\n ${[key, ...restoreKeys].join("\n ")}`);
try {
const restoreKey = await cache.restoreCache(paths, key, restoreKeys);

2
dist/save/index.js vendored
View File

@ -54730,7 +54730,7 @@ async function run() {
await cleanRegistry(registryName, packages);
await cleanGit(packages);
await cleanTarget(packages);
core.info(`Saving paths:\n ${savePaths.join("\n ")}.`);
core.info(`Saving paths:\n ${savePaths.join("\n ")}`);
core.info(`Using key "${key}".`);
try {
await cache.saveCache(savePaths, key);

View File

@ -13,7 +13,7 @@ async function run() {
const start = Date.now();
const { paths, key, restoreKeys } = await getCacheConfig();
core.info(`Restoring paths:\n ${paths.join("\n ")}.`);
core.info(`Restoring paths:\n ${paths.join("\n ")}`);
core.info(`Using keys:\n ${[key, ...restoreKeys].join("\n ")}`);
try {
const restoreKey = await cache.restoreCache(paths, key, restoreKeys);

View File

@ -33,7 +33,7 @@ async function run() {
await cleanTarget(packages);
core.info(`Saving paths:\n ${savePaths.join("\n ")}.`);
core.info(`Saving paths:\n ${savePaths.join("\n ")}`);
core.info(`Using key "${key}".`);
try {
await cache.saveCache(savePaths, key);