ci: upgrade GitHub Actions to latest versions#3157
Open
pierluigilenoci wants to merge 1 commit intoalibaba:masterfrom
Open
ci: upgrade GitHub Actions to latest versions#3157pierluigilenoci wants to merge 1 commit intoalibaba:masterfrom
pierluigilenoci wants to merge 1 commit intoalibaba:masterfrom
Conversation
- 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>
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! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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
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 usespattern: async-profiler-*withmerge-multiple: true.Test plan