Skip to content

Deprecate setup-java v4 - #1194

Merged
brunoborges merged 1 commit into
actions:releases/v4from
brunoborges:brunoborges-deprecate-v4-release
Aug 4, 2026
Merged

brunoborges merged 1 commit into
actions:releases/v4from
brunoborges:brunoborges-deprecate-v4-release

Conversation

@brunoborges

Copy link
Copy Markdown
Contributor

Description:
setup-java v4 is being deprecated, so users should receive clear guidance that this release line will no longer receive updates. This adds GitHub Actions deprecation metadata and emits a runtime warning directing users to migrate to actions/setup-java@v5.

The checked-in dist/setup bundle is rebuilt so the warning is present when v4 runs.

Related issue:
N/A

Check list:

  • Mark if documentation changes are required.
  • Mark if tests were added or updated to cover the changes.

Add a deprecation message to the v4 action metadata and emit a runtime warning that v4 will no longer receive updates, directing users to migrate to setup-java v5.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

Copilot-Session: c8931f2e-fb40-497a-b529-be37cb97a0ae
@brunoborges
brunoborges requested a review from a team as a code owner August 4, 2026 15:43
@brunoborges
brunoborges merged commit cf277c6 into actions:releases/v4 Aug 4, 2026
361 checks passed
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