mirror of
https://github.com/actions/download-artifact.git
synced 2025-07-22 14:38:25 +02:00
Invert condition (demo)
This commit is contained in:
parent
70545ed570
commit
ae7a633d32
1 changed files with 1 additions and 1 deletions
|
@ -129,7 +129,7 @@ async function run(): Promise<void> {
|
||||||
|
|
||||||
for (const dlPromise of downloadPromises) {
|
for (const dlPromise of downloadPromises) {
|
||||||
const outcome = await dlPromise
|
const outcome = await dlPromise
|
||||||
if (outcome.digestMismatch) {
|
if (!outcome.digestMismatch) {
|
||||||
core.warning(
|
core.warning(
|
||||||
`Artifact digest validation failed. Please verify the integrity of the artifact.`
|
`Artifact digest validation failed. Please verify the integrity of the artifact.`
|
||||||
)
|
)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue