Skip to content

ci: bump upload-artifact v3 -> v4 in artifacts workflow - #743

Open
travisim wants to merge 1 commit into
dappnode:masterfrom
travisim:ci/upload-artifact-v4
Open

travisim wants to merge 1 commit into
dappnode:masterfrom
travisim:ci/upload-artifact-v4

Conversation

@travisim

Copy link
Copy Markdown

Problem

artifacts.yml still uses actions/upload-artifact@v3:

      - name: Artifact
        uses: actions/upload-artifact@v3

upload-artifact@v3 was retired on 30 January 2025. Uploads from v3 now fail outright, so the Artifacts workflow (workflow_dispatch) cannot produce its ISO / installer-script bundle.

It's also the only straggler: every other workflow in this repo is already on v4.

release.yml            5× upload-artifact@v4
ubuntu-iso-e2e.yml     1× upload-artifact@v4
debian-iso-e2e.yml     1× upload-artifact@v4
artifacts.yml          1× upload-artifact@v3   <-- this PR

Change

-        uses: actions/upload-artifact@v3
+        uses: actions/upload-artifact@v4

One line, and it matches the version the rest of the repo already uses.

Why it's safe

  • No input changes. name and path are unchanged between v3 and v4.
  • v4's only hard requirement is met: artifact names must be unique within a run. This job uploads a single artifact named test-artifact, and the job has no matrix, so there is no collision.
  • The path block is a list of globs and literal files — valid v4 syntax.
  • There is no download-artifact counterpart that would need matching.

Optional follow-up

v7 is the current major and its inputs are a strict superset of v4 (it adds an optional archive input), and v4/v5 still declare the Node 20 runtime. I kept this to v4 to stay consistent with the rest of the repo and keep the diff to the actual breakage — happy to follow up with a repo-wide bump to v7 if you want to clear the Node 20 annotations too.

actions/upload-artifact@v3 was retired on 2025-01-30, so uploads now fail
outright and the Artifacts workflow cannot produce its ISO/script bundle.

artifacts.yml is the last workflow in the repo still on v3: release.yml,
ubuntu-iso-e2e.yml and debian-iso-e2e.yml are already on v4.

No input changes needed. The artifact name is unique within the run, which is
v4's only hard requirement, and the path globs are valid v4 syntax.
@travisim
travisim requested a review from a team as a code owner November 26, 2026 05:52
Copilot AI balanced review requested due to automatic review settings November 26, 2026 05:52

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.

An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing. Review the Copilot code review billing settings.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants