From dd7dc105222786e13d5166a135a4d880aa350ba1 Mon Sep 17 00:00:00 2001 From: Bruno Borges Date: Tue, 4 Aug 2026 14:06:02 -0400 Subject: [PATCH] Document deprecation of legacy action versions (#1198) Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 62a37470-ba42-40e1-8fb4-f644cf05da02 --- README.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 470da438..2fda4d27 100644 --- a/README.md +++ b/README.md @@ -68,7 +68,12 @@ steps: - Upgraded the action runtime from Node 20 to Node 24. - Requires runner version `v2.327.1` or later. See the [runner release notes](https://github.com/actions/runner/releases/tag/v2.327.1). -- See the full [v5.0.0 release notes](https://github.com/actions/setup-java/releases/tag/v5.0.0). +- See the [complete V5 release history](https://github.com/actions/setup-java/releases?q=v5&expanded=true) for enhancements and fixes across all V5 releases. + +### Older versions + +> [!WARNING] +> `actions/setup-java` versions `v1` through `v4` are deprecated. Upgrade workflows to `actions/setup-java@v5`, the latest stable release. ## Usage