Skip to content

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

Open
@angold5

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

    feature requestNew feature or request to improve the current logic

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions