ci(action): update github artifact actions to v5 (major)
This PR contains the following updates:
| Package | Type | Update | Change | OpenSSF |
|---|---|---|---|---|
| actions/download-artifact | action | major | v4.3.0 -> v5.0.0 |
|
| actions/upload-artifact | action | major | v4.6.2 -> v5.0.0 |
Release Notes
actions/download-artifact (actions/download-artifact)
v5.0.0
What's Changed
- Update README.md by @nebuk89 in #407
- BREAKING fix: inconsistent path behavior for single artifact downloads by ID by @GrantBirki in #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 topath/(direct) -
By ID:
artifact-ids: 12345→ extracted topath/my-artifact/(nested)
Now both methods are consistent:
-
By name:
name: my-artifact→ extracted topath/(unchanged) -
By ID:
artifact-ids: 12345→ extracted topath/(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: trueas a workaround
⚠️ Action Required If:
You download single artifacts by ID and your workflows expect the nested directory structure.
Before v5 (nested structure):
- uses: actions/download-artifact@v4
with:
artifact-ids: 12345
path: dist
### Files were in: dist/my-artifact/
Where
my-artifactis the name of the artifact you previously uploaded
To maintain old behavior (if needed):
- uses: actions/download-artifact@v5
with:
artifact-ids: 12345
path: dist/my-artifact # Explicitly specify the nested path
New Contributors
Full Changelog: https://github.com/actions/download-artifact/compare/v4...v5.0.0
actions/upload-artifact (actions/upload-artifact)
v5.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.md by @GhadimiR in #681
- Update README.md by @nebuk89 in #712
- Readme: spell out the first use of GHES by @danwkennedy in #727
- Update GHES guidance to include reference to Node 20 version by @patrikpolyak in #725
- Bump
@actions/artifacttov4.0.0 - Prepare
v5.0.0by @danwkennedy in #734
New Contributors
- @GhadimiR made their first contribution in #681
- @nebuk89 made their first contribution in #712
- @danwkennedy made their first contribution in #727
- @patrikpolyak made their first contribution in #725
Full Changelog: https://github.com/actions/upload-artifact/compare/v4...v5.0.0
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Never, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about these updates again.
- [ ] If you want to rebase/retry this PR, check this box
This PR has been generated by Renovate Bot.
Coverage report
The coverage rate went from 98.18% to 98.18% :arrow_right:
None of the new lines are part of the tested code. Therefore, there is no coverage data about them.