Skip to content

Fix failing builds due to deprecated actions/upload-artifact#53

Merged
christianhelle merged 1 commit intomasterfrom
fix-build
Oct 21, 2025
Merged

Fix failing builds due to deprecated actions/upload-artifact#53
christianhelle merged 1 commit intomasterfrom
fix-build

Conversation

@christianhelle
Copy link
Copy Markdown
Owner

@christianhelle christianhelle commented Oct 21, 2025

This pull request updates the GitHub Actions workflow files to use a newer version of the actions/upload-artifact action. This change helps ensure compatibility with the latest features and security updates provided by GitHub Actions.

Workflow maintenance:

  • Updated all instances of actions/upload-artifact from version 3 (@v3) to version 4 (@v4) in .github/workflows/build.yml to improve artifact publishing reliability and maintain compatibility with the latest GitHub Actions standards.
  • Updated all instances of actions/upload-artifact from version 3 (@v3) to version 4 (@v4) in .github/workflows/release.yml for consistent artifact publishing in the release workflow.

Summary by CodeRabbit

Release Notes

  • Chores
    • Updated GitHub Actions artifact publishing steps in build and release workflows to use the latest action version, ensuring improved compatibility and security with the artifact publishing process.
@christianhelle christianhelle self-assigned this Oct 21, 2025
Copilot AI review requested due to automatic review settings October 21, 2025 11:57
@coderabbitai
Copy link
Copy Markdown

coderabbitai bot commented Oct 21, 2025

Walkthrough

GitHub Actions workflows are updated to use actions/upload-artifact@v4 instead of actions/upload-artifact@v3 across build and release pipeline steps. No changes to artifact names, paths, or publishing logic.

Changes

Cohort / File(s) Summary
GitHub Actions version upgrade
.github/workflows/build.yml, .github/workflows/release.yml
Upgraded actions/upload-artifact from v3 to v4 in all "Publish artifacts" steps, including x64/x86 installers, binaries, and Chocolatey package publishing. No semantic changes to artifact handling.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~8 minutes

Poem

🐰 The artifacts hop and play,
In v4's modern, brighter way!
Actions upgraded, workflows flow,
Faster builds and better show.
Bunny bounces through CI/CD's glow! 🚀

Pre-merge checks and finishing touches

✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title Check ✅ Passed The pull request title "Fix failing builds due to deprecated actions/upload-artifact" directly and accurately describes the main change in the pull request. The changeset consistently updates the actions/upload-artifact action from version 3 to version 4 across both build.yml and release.yml workflow files, which aligns with addressing deprecated actions. The title is clear, concise, and specific enough that a developer scanning the git history would immediately understand the primary purpose of the change without confusion or misleading information.
Docstring Coverage ✅ Passed No functions found in the changes. Docstring coverage check skipped.
✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch fix-build

📜 Recent review details

Configuration used: CodeRabbit UI

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 87d598f and 61fc29b.

📒 Files selected for processing (2)
  • .github/workflows/build.yml (1 hunks)
  • .github/workflows/release.yml (1 hunks)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (1)
  • GitHub Check: build
🔇 Additional comments (2)
.github/workflows/build.yml (1)

46-46: Consistent version upgrade mirroring release.yml changes.

All five actions/upload-artifact steps in the build workflow are uniformly upgraded from @V3 to @v4, matching the parallel changes in release.yml. The artifact configurations remain unchanged, preserving the current publishing behavior.

Also applies to: 52-52, 58-58, 64-64, 70-70

.github/workflows/release.yml (1)

40-40: Upgrade is safe—no breaking changes apply to this configuration.

All five artifact uploads use unique names and explicit file paths with no glob patterns that would include hidden files. The 5 artifacts are well under the 500-artifact-per-job limit, and there are no duplicate artifact names that would trigger the immutability constraint. The upgrade from actions/upload-artifact@v3 to @v4 proceeds without compatibility concerns.


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR updates GitHub Actions workflows to use actions/upload-artifact@v4 instead of the deprecated @v3 version, addressing failing builds and ensuring compatibility with current GitHub Actions standards.

  • Updated all actions/upload-artifact references from v3 to v4 across workflow files
  • Applied changes consistently to both build and release workflows

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

File Description
.github/workflows/release.yml Updated five instances of actions/upload-artifact from v3 to v4 for artifact publishing in release workflow
.github/workflows/build.yml Updated five instances of actions/upload-artifact from v3 to v4 for artifact publishing in build workflow

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@christianhelle christianhelle merged commit 860b78f into master Oct 21, 2025
5 checks passed
@christianhelle christianhelle deleted the fix-build branch October 21, 2025 12:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants