Skip to content

Bump actions/upload-artifact from 4 to 7 - #404

Merged
tylervick merged 2 commits into
mainfrom
dependabot/github_actions/actions/upload-artifact-7
Aug 8, 2026
Merged

tylervick merged 2 commits into
mainfrom
dependabot/github_actions/actions/upload-artifact-7

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Aug 7, 2026

Copy link
Copy Markdown
Contributor

Bumps actions/upload-artifact from 4 to 7.

Release notes

Sourced from actions/upload-artifact's releases.

v7.0.0

v7 What's new

Direct Uploads

Adds support for uploading single files directly (unzipped). Callers can set the new archive parameter to false to skip zipping the file during upload. Right now, we only support single files. The action will fail if the glob passed resolves to multiple files. The name parameter is also ignored with this setting. Instead, the name of the artifact will be the name of the uploaded file.

ESM

To support new versions of the @actions/* packages, we've upgraded the package to ESM.

What's Changed

New Contributors

Full Changelog: actions/upload-artifact@v6...v7.0.0

v6.0.0

v6 - What's new

[!IMPORTANT] actions/upload-artifact@v6 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. v5 had preliminary support for Node.js 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

Full Changelog: actions/upload-artifact@v5.0.0...v6.0.0

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.

... (truncated)

Commits
  • 043fb46 Merge pull request #797 from actions/yacaovsnc/update-dependency
  • 634250c Include changes in typespec/ts-http-runtime 0.3.5
  • e454baa Readme: bump all the example versions to v7 (#796)
  • 74fad66 Update the readme with direct upload details (#795)
  • bbbca2d Support direct file uploads (#764)
  • 589182c Upgrade the module to ESM and bump dependencies (#762)
  • 47309c9 Merge pull request #754 from actions/Link-/add-proxy-integration-tests
  • 02a8460 Add proxy integration test
  • b7c566a Merge pull request #745 from actions/upload-artifact-v6-release
  • e516bc8 docs: correct description of Node.js 24 support in README
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 4 to 7.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](actions/upload-artifact@v4...v7)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-version: '7'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file github_actions Pull requests that update GitHub Actions code labels Aug 7, 2026
upload-artifact and download-artifact are a matched pair: the release job
downloads exactly what the build job uploaded. This PR moved upload 4->7
and left download at v4, which the workflow's dry run cannot catch because
the release job only runs on a tag push.

Same-generation v4+ artifacts are mutually compatible, so the split was
unlikely to break — but "unlikely" is a poor standard for a path that is
only exercised during a real release, so both halves now move together.

Dependabot did not raise download-artifact separately because
open-pull-requests-limit: 5 was already saturated by the other actions
updates, so the pair arrived split.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
@tylervick

Copy link
Copy Markdown
Member

Pushed 8c02e96 to this branch to move download-artifact alongside upload-artifact.

upload-artifact and download-artifact are a matched pair here: the build job uploads the signed, notarized binary, and the release job downloads exactly that artifact to attach it to the release. This PR moved upload v4 → v7 and left download at v4:

release.yml:116    actions/upload-artifact@v7
release.yml:135    actions/download-artifact@v4

The workflow's dry run cannot catch a mismatch there, because the release job is guarded on github.event_name == 'push' and is skipped on workflow_dispatch. A break would surface during a real release.

Same-generation v4+ artifacts are mutually compatible — the hard incompatibility was v3→v4, which changed the storage backend — so the split was unlikely to break anything. But "unlikely" is a poor standard for a path only exercised while publishing. Both halves now move together: upload v7, download v8.

Worth noting why the pair arrived split: Dependabot never raised download-artifact separately because open-pull-requests-limit: 5 in .github/dependabot.yml was already saturated by #403#407. The limit is reasonable for review load, but it can separate updates that ought to travel together — something to watch for on the next batch.

Dry run on this branch passed the build job (including the v7 upload) before this change; re-running after it.

@tylervick
tylervick merged commit 43a96cc into main Aug 8, 2026
9 of 10 checks passed
@tylervick
tylervick deleted the dependabot/github_actions/actions/upload-artifact-7 branch August 8, 2026 02:14
tylervick added a commit that referenced this pull request Aug 11, 2026
The 3.0.1rc1 tag failed to publish: `no matches found for
application/xchtmlreport-*`.

`actions/download-artifact` with no `name` created a directory per artifact
under v4, which is where the `application/` prefix came from, and 3.0.0 shipped
that way. Under v8 it extracts straight into the workspace instead, so the
archive has been landing one directory up since #404 bumped the version. Both
versions log "An extra directory with the artifact name will be created"; only
v4 does it.

Nothing caught this at the time because the release action it was feeding
defaults `fail_on_unmatched_files` to false. The next release would have
published a signed, notarized build with no binary attached to it and gone
green. It only surfaced now because the gh CLI step that replaced it in #427
fails on an unmatched pattern.

Naming the artifact and its destination pins the layout instead of inheriting
whatever the current major version does with it.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file github_actions Pull requests that update GitHub Actions code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant