mirror of
https://github.com/actions/download-artifact.git
synced 2025-04-09 13:40:14 +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++) {
|
for (let i = 0; i < results.length; i++) {
|
||||||
const outcome = results[i];
|
const outcome = results[i];
|
||||||
const artifactName = chunk[i].name;
|
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.`);
|
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 outcome = results[i]
|
||||||
const artifactName = chunk[i].name
|
const artifactName = chunk[i].name
|
||||||
|
|
||||||
if (!outcome.digestMismatch) {
|
if (outcome.digestMismatch) {
|
||||||
core.warning(
|
core.warning(
|
||||||
`Artifact '${artifactName}' digest validation failed. Please verify the integrity of the artifact.`
|
`Artifact '${artifactName}' digest validation failed. Please verify the integrity of the artifact.`
|
||||||
)
|
)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user