Make work as intended

This commit is contained in:
Ryan Ghadimi 2025-03-12 16:21:59 +00:00
parent 7797bfcd59
commit 56c2d7ea8c
2 changed files with 2 additions and 2 deletions

2
dist/index.js vendored
View File

@ -118782,7 +118782,7 @@ function run() {
for (let i = 0; i < results.length; i++) {
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.`);
}
}

View File

@ -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.`
)