Commit cd6caff
authored
Update actions/download-artifact action to v8 (#7474)
This PR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
|
[actions/download-artifact](https://redirect.github.com/actions/download-artifact)
| action | major | `v4` → `v8` |
---
> [!WARNING]
> Some dependencies could not be looked up. Check the [Dependency
Dashboard](../issues/357) for more information.
---
### Release Notes
<details>
<summary>actions/download-artifact (actions/download-artifact)</summary>
###
[`v8.0.1`](https://redirect.github.com/actions/download-artifact/releases/tag/v8.0.1)
[Compare
Source](https://redirect.github.com/actions/download-artifact/compare/v8.0.0...v8.0.1)
##### What's Changed
- Support for CJK characters in the artifact name by
[@​danwkennedy](https://redirect.github.com/danwkennedy) in
[#​471](https://redirect.github.com/actions/download-artifact/pull/471)
- Add a regression test for artifact name + content-type mismatches by
[@​danwkennedy](https://redirect.github.com/danwkennedy) in
[#​472](https://redirect.github.com/actions/download-artifact/pull/472)
**Full Changelog**:
<actions/download-artifact@v8...v8.0.1>
###
[`v8.0.0`](https://redirect.github.com/actions/download-artifact/releases/tag/v8.0.0)
[Compare
Source](https://redirect.github.com/actions/download-artifact/compare/v7.0.0...v8.0.0)
##### 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](https://redirect.github.com/danwkennedy) in
[#​460](https://redirect.github.com/actions/download-artifact/pull/460)
- Add a setting to specify what to do on hash mismatch and default it to
`error` by
[@​danwkennedy](https://redirect.github.com/danwkennedy) in
[#​461](https://redirect.github.com/actions/download-artifact/pull/461)
**Full Changelog**:
<actions/download-artifact@v7...v8.0.0>
###
[`v7.0.0`](https://redirect.github.com/actions/download-artifact/releases/tag/v7.0.0)
[Compare
Source](https://redirect.github.com/actions/download-artifact/compare/v6.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
[@​patrikpolyak](https://redirect.github.com/patrikpolyak) in
[#​440](https://redirect.github.com/actions/download-artifact/pull/440)
- Download Artifact Node24 support by
[@​salmanmkc](https://redirect.github.com/salmanmkc) in
[#​415](https://redirect.github.com/actions/download-artifact/pull/415)
- fix: update
[@​actions/artifact](https://redirect.github.com/actions/artifact)
to fix Node.js 24 punycode deprecation by
[@​salmanmkc](https://redirect.github.com/salmanmkc) in
[#​451](https://redirect.github.com/actions/download-artifact/pull/451)
- prepare release v7.0.0 for Node.js 24 support by
[@​salmanmkc](https://redirect.github.com/salmanmkc) in
[#​452](https://redirect.github.com/actions/download-artifact/pull/452)
##### New Contributors
- [@​patrikpolyak](https://redirect.github.com/patrikpolyak) made
their first contribution in
[#​440](https://redirect.github.com/actions/download-artifact/pull/440)
- [@​salmanmkc](https://redirect.github.com/salmanmkc) made their
first contribution in
[#​415](https://redirect.github.com/actions/download-artifact/pull/415)
**Full Changelog**:
<actions/download-artifact@v6.0.0...v7.0.0>
###
[`v6.0.0`](https://redirect.github.com/actions/download-artifact/releases/tag/v6.0.0)
[Compare
Source](https://redirect.github.com/actions/download-artifact/compare/v5.0.0...v6.0.0)
#### What's Changed
**BREAKING CHANGE:** this update supports Node `v24.x`. This is not a
breaking change per-se but we're treating it as such.
- Update README for download-artifact v5 changes by
[@​yacaovsnc](https://redirect.github.com/yacaovsnc) in
[#​417](https://redirect.github.com/actions/download-artifact/pull/417)
- Update README with artifact extraction details by
[@​yacaovsnc](https://redirect.github.com/yacaovsnc) in
[#​424](https://redirect.github.com/actions/download-artifact/pull/424)
- Readme: spell out the first use of GHES by
[@​danwkennedy](https://redirect.github.com/danwkennedy) in
[#​431](https://redirect.github.com/actions/download-artifact/pull/431)
- Bump `@actions/artifact` to `v4.0.0`
- Prepare `v6.0.0` by
[@​danwkennedy](https://redirect.github.com/danwkennedy) in
[#​438](https://redirect.github.com/actions/download-artifact/pull/438)
#### New Contributors
- [@​danwkennedy](https://redirect.github.com/danwkennedy) made
their first contribution in
[#​431](https://redirect.github.com/actions/download-artifact/pull/431)
**Full Changelog**:
<actions/download-artifact@v5...v6.0.0>
###
[`v5.0.0`](https://redirect.github.com/actions/download-artifact/releases/tag/v5.0.0)
[Compare
Source](https://redirect.github.com/actions/download-artifact/compare/v4.3.0...v5.0.0)
#### What's Changed
- Update README.md by
[@​nebuk89](https://redirect.github.com/nebuk89) in
[#​407](https://redirect.github.com/actions/download-artifact/pull/407)
- BREAKING fix: inconsistent path behavior for single artifact downloads
by ID by [@​GrantBirki](https://redirect.github.com/GrantBirki) in
[#​416](https://redirect.github.com/actions/download-artifact/pull/416)
#### v5.0.0
##### 🚨 Breaking Change
This release fixes an inconsistency in path behavior for single artifact
downloads by ID. **If you're downloading single artifacts by ID, the
output path may change.**
##### What Changed
Previously, **single artifact downloads** behaved differently depending
on how you specified the artifact:
- **By name**: `name: my-artifact` → extracted to `path/` (direct)
- **By ID**: `artifact-ids: 12345` → extracted to `path/my-artifact/`
(nested)
Now both methods are consistent:
- **By name**: `name: my-artifact` → extracted to `path/` (unchanged)
- **By ID**: `artifact-ids: 12345` → extracted to `path/` (fixed - now
direct)
##### Migration Guide
##### ✅ No Action Needed If:
- You download artifacts by **name**
- You download **multiple** artifacts by ID
- You already use `merge-multiple: true` as a workaround
##### 1 parent 8b09d0c commit cd6caff
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
107 | 107 | | |
108 | 108 | | |
109 | 109 | | |
110 | | - | |
| 110 | + | |
111 | 111 | | |
112 | 112 | | |
113 | 113 | | |
| |||
0 commit comments