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

how do i use the "install-multiple-jdks" in the Github action

Open angold5 opened this issue 2 years ago • 2 comments

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?

angold5 avatar Jan 15 '24 14:01 angold5

Hello @angold5 Thank you for reporting this issue, We will investigate it and come back to you as soon as we have some information.

aparnajyothi-y avatar Jan 16 '24 06:01 aparnajyothi-y