Merge pull request #452 from actions/download-artifact-v7-release
Some checks failed
Check dist/ / check-dist (push) Successful in 58s
Code scanning - action / CodeQL-Build (push) Failing after 58s
Licensed / Check licenses (push) Failing after 6m37s
Test / Build (ubuntu-latest) (push) Failing after 32s
Test / Build (macos-latest) (push) Has been cancelled
Test / Build (windows-latest) (push) Has been cancelled

prepare release v7.0.0 for Node.js 24 support
This commit is contained in:
Salman Chishti
2025-12-12 17:58:13 +00:00
committed by GitHub
3 changed files with 13 additions and 3 deletions

View File

@@ -5,6 +5,7 @@ Download [Actions Artifacts](https://docs.github.com/en/actions/using-workflows/
See also [upload-artifact](https://github.com/actions/upload-artifact). See also [upload-artifact](https://github.com/actions/upload-artifact).
- [`@actions/download-artifact`](#actionsdownload-artifact) - [`@actions/download-artifact`](#actionsdownload-artifact)
- [v7 - What's new](#v7---whats-new)
- [v5 - What's new](#v5---whats-new) - [v5 - What's new](#v5---whats-new)
- [v4 - What's new](#v4---whats-new) - [v4 - What's new](#v4---whats-new)
- [Improvements](#improvements) - [Improvements](#improvements)
@@ -22,6 +23,15 @@ See also [upload-artifact](https://github.com/actions/upload-artifact).
- [Limitations](#limitations) - [Limitations](#limitations)
- [Permission Loss](#permission-loss) - [Permission Loss](#permission-loss)
## 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.
## v5 - What's new ## v5 - What's new
Previously, **single artifact downloads** behaved differently depending on how you specified the artifact: Previously, **single artifact downloads** behaved differently depending on how you specified the artifact:

4
package-lock.json generated
View File

@@ -1,12 +1,12 @@
{ {
"name": "download-artifact", "name": "download-artifact",
"version": "6.0.0", "version": "7.0.0",
"lockfileVersion": 3, "lockfileVersion": 3,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "download-artifact", "name": "download-artifact",
"version": "6.0.0", "version": "7.0.0",
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"@actions/artifact": "^5.0.0", "@actions/artifact": "^5.0.0",

View File

@@ -1,6 +1,6 @@
{ {
"name": "download-artifact", "name": "download-artifact",
"version": "6.0.0", "version": "7.0.0",
"description": "Download an Actions Artifact from a workflow run", "description": "Download an Actions Artifact from a workflow run",
"engines": { "engines": {
"node": ">=24" "node": ">=24"