From 278fca438a0f334c0505181835b4796f2785949b Mon Sep 17 00:00:00 2001
From: Ryan Ghadimi <114221941+GhadimiR@users.noreply.github.com>
Date: Wed, 19 Mar 2025 15:06:13 +0000
Subject: [PATCH] Move log statements

---
 dist/index.js            | 6 +++---
 src/download-artifact.ts | 6 +++---
 2 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/dist/index.js b/dist/index.js
index 50a0229..d0a4ebc 100644
--- a/dist/index.js
+++ b/dist/index.js
@@ -118857,10 +118857,10 @@ function run() {
                     core.warning(`Artifact '${artifactName}' digest validation failed. Please verify the integrity of the artifact.`);
                 }
             }
-            core.info(`Total of ${artifacts.length} artifact(s) downloaded`);
-            core.setOutput(constants_1.Outputs.DownloadPath, resolvedPath);
-            core.info('Download artifact has finished successfully');
         }
+        core.info(`Total of ${artifacts.length} artifact(s) downloaded`);
+        core.setOutput(constants_1.Outputs.DownloadPath, resolvedPath);
+        core.info('Download artifact has finished successfully');
     });
 }
 exports.run = run;
diff --git a/src/download-artifact.ts b/src/download-artifact.ts
index 69aaa10..1beef4d 100644
--- a/src/download-artifact.ts
+++ b/src/download-artifact.ts
@@ -138,10 +138,10 @@ export async function run(): Promise<void> {
         )
       }
     }
-    core.info(`Total of ${artifacts.length} artifact(s) downloaded`)
-    core.setOutput(Outputs.DownloadPath, resolvedPath)
-    core.info('Download artifact has finished successfully')
   }
+  core.info(`Total of ${artifacts.length} artifact(s) downloaded`)
+  core.setOutput(Outputs.DownloadPath, resolvedPath)
+  core.info('Download artifact has finished successfully')
 }
 
 run().catch(err =>