diff --git a/src/download-artifact.ts b/src/download-artifact.ts index 71852f3..c8da268 100644 --- a/src/download-artifact.ts +++ b/src/download-artifact.ts @@ -129,7 +129,7 @@ async function run(): Promise { for (const dlPromise of downloadPromises) { const outcome = await dlPromise - if (outcome.digestMismatch) { + if (!outcome.digestMismatch) { core.warning( `Artifact digest validation failed. Please verify the integrity of the artifact.` )