3
0
Fork 0
mirror of https://github.com/Swatinem/rust-cache synced 2025-11-08 00:15:06 +00:00

fix pretty printing and selftest

This commit is contained in:
Arpad Borsos 2022-07-09 15:39:43 +02:00
parent cb43a50800
commit 36af5cb1ae
No known key found for this signature in database
GPG key ID: FC7BCA77824B3298
5 changed files with 15 additions and 9 deletions

View file

@ -30,6 +30,9 @@ async function run() {
// TODO: remove this once https://github.com/actions/toolkit/pull/553 lands
await macOsWorkaround();
core.info(`# Cleaning Cache`);
config.printInfo();
const registryName = await getRegistryName(config);
const allPackages = [];
@ -64,7 +67,6 @@ async function run() {
}
core.info(`# Saving cache`);
config.printInfo();
await cache.saveCache(config.cachePaths, config.cacheKey);
} catch (e) {
core.info(`[warning] ${(e as any).stack}`);