1
0
mirror of https://gitea.com/actions/download-artifact.git synced 2026-02-02 20:34:29 +07:00

Add a setting to specify what to do on hash mismatch and default it to error

This commit is contained in:
Daniel Kennedy
2026-01-30 15:12:08 -05:00
parent c9ff097e79
commit f0a2a2d898
5 changed files with 177 additions and 9 deletions

View File

@@ -40,6 +40,11 @@ inputs:
This is useful when you want to handle the artifact as-is without extraction.'
required: false
default: 'false'
digest-mismatch:
description: 'The behavior when a downloaded artifact''s digest does not match the expected digest.
Options: ignore, info, warn, error. Default is error which will fail the action.'
required: false
default: 'error'
outputs:
download-path:
description: 'Path of artifact download'