name: Setup Java description: Sets up Java. inputs: distribution: description: Java distribution. required: false default: temurin java-version: description: The Java version that is going to be set up. required: false default: "21" runs: using: composite steps: - id: setup-java name: Setup Java uses: actions/setup-java@v4 with: distribution: ${{ inputs.distribution }} java-version: ${{ inputs.java-version }}