From a39a661f39f88763a1e0162b124367ee16d082f0 Mon Sep 17 00:00:00 2001
From: Ryan Ghadimi <114221941+GhadimiR@users.noreply.github.com>
Date: Wed, 19 Mar 2025 11:22:27 +0000
Subject: [PATCH] Unfix error

---
 src/download-artifact.ts | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/download-artifact.ts b/src/download-artifact.ts
index 1beef4d..69aaa10 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 =>