mirror of
https://github.com/actions/download-artifact.git
synced 2025-03-31 06:30:12 +08:00
Make work as intended
This commit is contained in:
parent
7797bfcd59
commit
56c2d7ea8c
2
dist/index.js
vendored
2
dist/index.js
vendored
@ -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.`);
|
||||
}
|
||||
}
|
||||
|
@ -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.`
|
||||
)
|
||||
|
Loading…
x
Reference in New Issue
Block a user