From 0859a18f70b7ee0c0b7a1035437d23b2f95b110b Mon Sep 17 00:00:00 2001 From: Anton Troshin Date: Mon, 18 Nov 2024 19:24:46 -0600 Subject: [PATCH] add logs Signed-off-by: Anton Troshin --- src/installer.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/installer.ts b/src/installer.ts index 20014de..2298a24 100644 --- a/src/installer.ts +++ b/src/installer.ts @@ -222,6 +222,8 @@ async function cacheWindowsDir( throw new Error(`Could not get cache folder paths.`); } + core.info(`Found Cache Directory Paths: ${cacheDirectoryPaths}`); + // replace cache directory path with actual cache directory path const actualCacheDirectoryPaths = cacheDirectoryPaths.map(path => { return { @@ -233,6 +235,7 @@ async function cacheWindowsDir( // iterate through actual cache directory paths and make links for (const cachePath of actualCacheDirectoryPaths) { if (!fs.existsSync(cachePath.actualPath)) { + core.info(`Creating directory ${cachePath.actualPath}`); fs.mkdirSync(path.dirname(cachePath.actualPath), {recursive: true}); }