setup-java icon indicating copy to clipboard operation
setup-java copied to clipboard

Add Support for Java 17

Open YNedderhoff opened this issue 5 years ago • 3 comments

Description: Support for Java 17, especially Temurin.

Justification: It's the new LTS, many people will adopt it soon!

Are you willing to submit a PR? I don't know how to, but in theory yes.

YNedderhoff avatar Oct 06 '21 16:10 YNedderhoff

Hello @YiMysty. You can use Temurin Java 17 by this snippet:

      - uses: actions/setup-java@v2
        with:
          distribution: temurin
          java-version: 17

For now I'm closing the issue. If you have any concerns feel free to ping us.

dmitry-shibanov avatar Oct 06 '21 16:10 dmitry-shibanov

@YNedderhoff ^ :D

YiMysty avatar Oct 06 '21 18:10 YiMysty

Oh I see - it wasn't in the documentation, the highest version there was 16. Maybe that needs to be changed.

YNedderhoff avatar Oct 06 '21 18:10 YNedderhoff