5
0
mirror of https://gitea.com/actions/setup-java.git synced 2026-08-05 02:31:18 +00:00

Deprecate setup-java v4 (#1194)

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
This commit is contained in:
Bruno Borges
2026-08-04 11:48:38 -04:00
committed by GitHub
parent d7793b5450
commit cf277c60eb
3 changed files with 8 additions and 0 deletions
+1
View File
@@ -1,6 +1,7 @@
name: 'Setup Java JDK'
description: 'Set up a specific version of the Java JDK and add the
command-line tools to the PATH'
deprecationMessage: 'setup-java v4 is deprecated and will no longer receive updates. Please migrate to actions/setup-java@v5.'
author: 'GitHub'
inputs:
java-version: