From 049eba1e9a28da1d0c4e70f64ccfc1750dc8506e Mon Sep 17 00:00:00 2001
From: Ryan Ghadimi <114221941+GhadimiR@users.noreply.github.com>
Date: Wed, 12 Mar 2025 16:04:02 +0000
Subject: [PATCH] unbreak testing code

---
 src/download-artifact.ts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/download-artifact.ts b/src/download-artifact.ts
index 8ca8bb1..1dfef71 100644
--- a/src/download-artifact.ts
+++ b/src/download-artifact.ts
@@ -132,7 +132,7 @@ async function run(): Promise<void> {
       const outcome = results[i]
       const artifactName = chunk[i].name
 
-      if (!outcome.digestMismatch) {
+      if (outcome.digestMismatch) {
         core.warning(
           `Artifact '${artifactName}' digest validation failed. Please verify the integrity of the artifact.`
         )