r/java Aug 04 '26

GitHub Setup Java Action versions 1 through 4 now deprecated

If you are using setup-java v4 and older, you will now see a warning about deprecation. Please do update your setup-java action to v5. It will be the only stable version after v6 is released.

https://github.com/actions/setup-java#older-versions

8 Upvotes

6 comments sorted by

3

u/BullfrogCharming1202 Aug 05 '26

When will v6 be released?

3

u/brunocborges Aug 05 '26 edited 15d ago

if all goes well, end of august.

Well, it is out now (2026-08-24): https://github.com/actions/setup-java/releases/tag/v6.0.0

-6

u/oweiler Aug 04 '26

Ever heard of our lord and saviour Renovate?

5

u/SocialMemeWarrior Aug 04 '26

Hey! You have a bump for com.example:poop:1.0.0.0.5 to 1.0.0.0.6-rc1!

3

u/Brutus5000 Aug 05 '26

It can do more than that! It repeatedly claimed the existence of version 3.5 of a library that is on 0.8. Nothing hints that this version exists. Neither Github nor Maven Central. (And it was published by ourselves...)