Sourced from actions/download-artifact's releases.
v8.0.0
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 theContent-Typeheader ahead of unzipping and skips non-zipped files. Callers wishing to download a zipped file as-is can also set the newskip-decompressparameter totrue.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-mismatchparameter. To be secure by default, we are now defaulting the behavior toerrorwhich 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
@danwkennedyin actions/download-artifact#460- Add a setting to specify what to do on hash mismatch and default it to
errorby@danwkennedyin actions/download-artifact#461Full Changelog: https://github.com/actions/download-artifact/compare/v7...v8.0.0
v7.0.0
v7 - What's new
[!IMPORTANT] actions/download-artifact@v7 now runs on Node.js 24 (
runs.using: node24) and requires a minimum Actions Runner version of 2.327.1. If you are using self-hosted runners, ensure they are updated before upgrading.Node.js 24
This release updates the runtime to Node.js 24. v6 had preliminary support for Node 24, however this action was by default still running on Node.js 20. Now this action by default will run on Node.js 24.
What's Changed
- Update GHES guidance to include reference to Node 20 version by
@patrikpolyakin actions/download-artifact#440- Download Artifact Node24 support by
@salmanmkcin actions/download-artifact#415- fix: update
@actions/artifactto fix Node.js 24 punycode deprecation by@salmanmkcin actions/download-artifact#451- prepare release v7.0.0 for Node.js 24 support by
@salmanmkcin actions/download-artifact#452New Contributors
@patrikpolyakmade their first contribution in actions/download-artifact#440@salmanmkcmade their first contribution in actions/download-artifact#415Full Changelog: https://github.com/actions/download-artifact/compare/v6.0.0...v7.0.0
v6.0.0
... (truncated)
3e5f45b
Add regression tests for CJK characters (#471)e6d03f6
Add a regression test for artifact name + content-type mismatches (#472)70fc10c
Merge pull request #461
from actions/danwkennedy/digest-mismatch-behaviorf258da9
Add change docsccc058e
Fix linting issuesbd7976b
Add a setting to specify what to do on hash mismatch and default it to
errorac21fcf
Merge pull request #460
from actions/danwkennedy/download-no-unzip15999bf
Add note about package bumps974686e
Bump the version to v8 and add release notesfbe48b1
Update test names to make it clearer what they do