github actions/setup-java v3.9.0

latest releases: v4.5.0, v4, v4.4.0...
23 months ago

In scope of this release we add support for .java-version file (#426). For more information about its usage please refer to the documentation.

    steps:
      - uses: actions/checkout@v3
      - name: Setup java
        uses: actions/setup-java@v3
        with:
          distribution: '<distribution>'
          java-version-file: .java-version
      - run: java HelloWorldApp.java

Don't miss a new setup-java release

NewReleases is sending notifications on new releases.