setup-java
setup-java copied to clipboard
how do i use the "install-multiple-jdks" in the Github action
Description: How do i use the new version of java in the github action https://github.com/actions/setup-java#install-multiple-jdks
steps:
uses: actions/setup-java@v4
with:
distribution: '<distribution>'
java-version: 17
- run: java HelloWorldApp.java
- name: Sonar scan
env:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
run: ./gradlew build sonar --info
working-directory: ./my-app/HelloWorldFunction
Justification: i dont know how to use it
Are you willing to submit a PR?
Hello @angold5 Thank you for reporting this issue, We will investigate it and come back to you as soon as we have some information.