github actions/download-artifact v8.0.0

7 hours ago

v8 - What's new

Direct downloads

To support direct uploads in actions/upload-artifact, the action will no longer attempt to unzip all downloaded files. Instead, the action checks the Content-Type header ahead of unzipping and skips non-zipped files. Callers wishing to download a zipped file as-is can also set the new skip-decompress parameter to false.

Enforced checks (breaking)

A previous release introduced digest checks on the download. If a download hash didn't match the expected hash from the server, the action would log a warning. Callers can now configure the behavior on mismatch with the digest-mismatch parameter. To be secure by default, we are now defaulting the behavior to error which will fail the workflow run.

ESM

To support new versions of the @actions/* packages, we've upgraded the package to ESM.

What's Changed

  • Don't attempt to un-zip non-zipped downloads by @danwkennedy in #460
  • Add a setting to specify what to do on hash mismatch and default it to error by @danwkennedy in #461

Full Changelog: v7...v8.0.0

Don't miss a new download-artifact release

NewReleases is sending notifications on new releases.