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