mirror of
https://github.com/actions/download-artifact.git
synced 2026-02-28 19:04:38 +00:00
Add a setting to specify what to do on hash mismatch and default it to error
This commit is contained in:
@@ -7,7 +7,15 @@ export enum Inputs {
|
||||
Pattern = 'pattern',
|
||||
MergeMultiple = 'merge-multiple',
|
||||
ArtifactIds = 'artifact-ids',
|
||||
SkipDecompress = 'skip-decompress'
|
||||
SkipDecompress = 'skip-decompress',
|
||||
DigestMismatch = 'digest-mismatch'
|
||||
}
|
||||
|
||||
export enum DigestMismatchBehavior {
|
||||
Ignore = 'ignore',
|
||||
Info = 'info',
|
||||
Warn = 'warn',
|
||||
Error = 'error'
|
||||
}
|
||||
|
||||
export enum Outputs {
|
||||
|
||||
Reference in New Issue
Block a user