Skip to content

Fix build failures by upgrading deprecated GitHub Actions#4

Merged
TylerCode merged 2 commits intomainfrom
copilot/update-artifact-action-version
Oct 14, 2025
Merged

Fix build failures by upgrading deprecated GitHub Actions#4
TylerCode merged 2 commits intomainfrom
copilot/update-artifact-action-version

Conversation

Copy link
Contributor

Copilot AI commented Oct 14, 2025

Problem

The CI/CD builds were failing with the following error:

Error: This request has been automatically failed because it uses a deprecated version of `actions/upload-artifact: v2`. 
Learn more: https://github.blog/changelog/2024-02-13-deprecation-notice-v1-and-v2-of-the-artifact-actions/

As of February 13, 2024, GitHub deprecated v1 and v2 of the artifact actions, causing all workflows using these versions to fail automatically.

Solution

This PR upgrades all GitHub Actions in the workflow files to their latest stable versions:

Updated Actions:

  • actions/upload-artifact: v2 → v4 (fixes the build failure)
  • actions/checkout: v2 → v4
  • actions/setup-go: v2 → v5

Files Modified:

  • .github/workflows/archive-repo.yml
  • .github/workflows/appimage.yml

Benefits

  • ✅ Fixes the immediate build failures caused by deprecated actions
  • ✅ Improves security by using actively maintained action versions
  • ✅ Enables access to performance improvements in newer action versions
  • ✅ Ensures compatibility with current GitHub Actions infrastructure

Testing

  • Validated YAML syntax for both workflow files
  • Changes are minimal and only affect action version numbers
  • No functional changes to the build process or artifact outputs

Resolves #issue_number

Original prompt

This section details on the original issue you should resolve

<issue_title>Builds are currently failing</issue_title>
<issue_description>Error: This request has been automatically failed because it uses a deprecated version of actions/upload-artifact: v2. Learn more: https://github.blog/changelog/2024-02-13-deprecation-notice-v1-and-v2-of-the-artifact-actions/</issue_description>

Comments on the Issue (you are @copilot in this section)

Fixes #3


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Co-authored-by: TylerCode <18288340+TylerCode@users.noreply.github.com>
@TylerCode TylerCode marked this pull request as ready for review October 14, 2025 21:40
@TylerCode TylerCode marked this pull request as draft October 14, 2025 21:40
Copilot AI changed the title [WIP] Fix build failure by updating artifact action version Fix build failures by upgrading deprecated GitHub Actions Oct 14, 2025
Copilot AI requested a review from TylerCode October 14, 2025 21:41
@TylerCode TylerCode marked this pull request as ready for review October 14, 2025 21:47
@TylerCode TylerCode merged commit 8c11e66 into main Oct 14, 2025
3 checks passed
@TylerCode TylerCode deleted the copilot/update-artifact-action-version branch October 14, 2025 21:47
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.

Builds are currently failing

2 participants