1
0
Fork 0
mirror of https://github.com/actions/toolkit.git synced 2025-06-08 06:27:02 +09:00

Fix comment on expectedHash

This commit is contained in:
Ryan Ghadimi 2025-03-11 10:52:19 +00:00
parent 8780507298
commit d7ddca4309

View file

@ -108,8 +108,9 @@ export interface DownloadArtifactOptions {
path?: string
/**
* The hash that was computed for the artifact during upload. Don't provide this unless you want to verify the hash.
* If the hash doesn't match, the download will fail.
* The hash that was computed for the artifact during upload. If provided, the outcome of the download
* will provide a digestMismatch property indicating whether the hash of the downloaded artifact
* matches the expected hash.
*/
expectedHash?: string
}