Skip to content

Update GitHub Actions workflow to use actions/upload-artifact@v4#49

Merged
asklar merged 3 commits intomainfrom
copilot/fix-7bc92300-652f-47bd-878f-f62fa201ddf1
Sep 12, 2025
Merged

Update GitHub Actions workflow to use actions/upload-artifact@v4#49
asklar merged 3 commits intomainfrom
copilot/fix-7bc92300-652f-47bd-878f-f62fa201ddf1

Conversation

Copy link
Contributor

Copilot AI commented Sep 12, 2025

Updates the CI workflow to use actions/upload-artifact@v4 instead of the deprecated v2.2.4 version to resolve deprecation warnings in GitHub Actions.

Changes Made

  • Updated .github/workflows/main.yml to use actions/upload-artifact@v4 on line 41
  • All existing parameters (name, path, if-no-files-found) remain unchanged as they are compatible with v4
  • No changes to build process, dependencies, or functionality

Verification

The update has been tested to ensure:

  • ✅ Build process continues to work correctly
  • ✅ All 13 parser tests pass
  • ✅ VSIX packaging generates the expected artifact file
  • ✅ Workflow YAML syntax is valid
  • ✅ Upload artifact parameters are fully compatible with v4

This is a minimal, targeted change that resolves the deprecation warning while maintaining full compatibility with the existing CI pipeline. The workflow will continue to build, test, and upload the VS Code extension artifact as before, but using the current supported version of the upload-artifact action.

This pull request was created as a result of the following prompt from Copilot chat.

Update the GitHub Actions workflow in .github/workflows/main.yml to use actions/upload-artifact@v4 instead of the deprecated v2.2.4, as noted in the CI job failure logs. Ensure that any usage of actions/upload-artifact is updated to @v4 and validate that the rest of the workflow remains compatible with the new version.


💡 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.

Copilot AI and others added 2 commits September 12, 2025 22:14
Co-authored-by: asklar <22989529+asklar@users.noreply.github.com>
Co-authored-by: asklar <22989529+asklar@users.noreply.github.com>
Copilot AI changed the title [WIP] Update workflow to use actions/upload-artifact@v4 Update GitHub Actions workflow to use actions/upload-artifact@v4 Sep 12, 2025
Copilot AI requested a review from asklar September 12, 2025 22:16
@asklar asklar marked this pull request as ready for review September 12, 2025 22:18
@asklar asklar merged commit b1d16d4 into main Sep 12, 2025
2 checks passed
@asklar asklar deleted the copilot/fix-7bc92300-652f-47bd-878f-f62fa201ddf1 branch September 12, 2025 22:18
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.

2 participants