From 2e9213cbb608bc8237b06e0e31a5fa70f8345582 Mon Sep 17 00:00:00 2001
From: konradpabjan <konradpabjan@outlook.com>
Date: Thu, 20 Feb 2020 22:24:46 -0500
Subject: [PATCH] Improve logs

---
 src/upload-artifact.ts | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/src/upload-artifact.ts b/src/upload-artifact.ts
index df8beb1..3779df6 100644
--- a/src/upload-artifact.ts
+++ b/src/upload-artifact.ts
@@ -14,6 +14,14 @@ async function run(): Promise<void> {
         `No files were found for the provided path: ${path}. No artifacts will be uploaded.`
       )
     } else {
+      core.info(
+        `With the provided path, there will be ${searchResult.filesToUpload.length} files uploaded`
+      )
+      for (const file of searchResult.filesToUpload) {
+        core.debug(`Upload file: ${file}`)
+      }
+      core.debug(`Root artifact directory is ${searchResult.rootDirectory}`)
+
       const artifactClient = artifact.create()
       const options = {
         continueOnError: true