how do i use the "install-multiple-jdks" in the Github action · Issue #586 · actions/setup-java · GitHub
Skip to content

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

Description

@angold5

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions