Skip to content

ci: upgrade GitHub Actions to latest versions#3157

Open
pierluigilenoci wants to merge 1 commit intoalibaba:masterfrom
pierluigilenoci:cs/upgrade-github-actions
Open

ci: upgrade GitHub Actions to latest versions#3157
pierluigilenoci wants to merge 1 commit intoalibaba:masterfrom
pierluigilenoci:cs/upgrade-github-actions

Conversation

@pierluigilenoci
Copy link

Summary

Upgrade all GitHub Actions across 8 workflow files to their latest major versions for security patches, Node.js 20 support, and new features.

Changes

Action From To Workflows
actions/checkout v3 v4 all 8
actions/setup-java v3 v4 test, release, build-vmtool, build-async-profiler
softprops/action-gh-release v1 v2 release
actions/upload-artifact v3 v4 build-async-profiler
actions/download-artifact v3 v4 build-async-profiler
ad-m/github-push-action @master (unpinned) @v0.8.0 build-vmtool, build-async-profiler

Note: upload-artifact v4 no longer merges same-name artifacts. Each build job now uses a unique artifact name (async-profiler-mac, async-profiler-linux-x64, async-profiler-linux-arm64), and the download step uses pattern: async-profiler-* with merge-multiple: true.

Test plan

  • No functional code changes
  • Verify CI workflows pass after merge

- actions/checkout v3 → v4 (all 8 workflows)
- actions/setup-java v3 → v4 (test, release, build-vmtool, build-async-profiler)
- softprops/action-gh-release v1 → v2 (release)
- actions/upload-artifact v3 → v4 (build-async-profiler)
- actions/download-artifact v3 → v4 (build-async-profiler)
- Pin ad-m/github-push-action@master → @v0.8.0 (build-vmtool, build-async-profiler)

For upload-artifact v4, use unique artifact names per build job
since v4 no longer merges same-name artifacts. The download step
uses pattern matching with merge-multiple to collect all artifacts.

Signed-off-by: Pierluigi Lenoci <pierluigi.lenoci@gmail.com>
@pierluigilenoci
Copy link
Author

Hi @hengyunabc, @HollowMan6 — this PR upgrades all GitHub Actions to their latest major versions (checkout v4, setup-java v4, upload/download-artifact v4, action-gh-release v2, github-push-action v0.8.0) to address Node.js 16 deprecation warnings and ensure continued CI compatibility. Would you be willing to review? Thank you!

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.

1 participant