mirror of
https://github.com/actions/download-artifact.git
synced 2025-04-23 23:16:44 +08:00
Invert condition (demo)
This commit is contained in:
parent
70545ed570
commit
ae7a633d32
@ -129,7 +129,7 @@ async function run(): Promise<void> {
|
||||
|
||||
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.`
|
||||
)
|
||||
|
Loading…
x
Reference in New Issue
Block a user