Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Choose a tag to compare

@danwkennedy danwkennedy released this 26 Feb 18:21
· 3 commits to main since this release
70fc10c

v8 - What's new

Important

actions/download-artifact@v8 has been migrated to an ESM module. This should be transparent to the caller but forks might need to make significant changes.

Important

Hash mismatches will now error by default. Users can override this behavior with a setting change (see below).

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 true.

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