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 =>