keycloak-scim/.github/actions/java-setup/action.yml
Jon Koops 2f617bd28e
Place Java setup in re-usable workflow file (#17541)
Co-authored-by: Stian Thorgersen <stianst@gmail.com>
2023-07-26 10:35:21 +00:00

22 lines
485 B
YAML

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: "17"
runs:
using: composite
steps:
- id: setup-java
name: Setup Java
uses: actions/setup-java@v3
with:
distribution: ${{ inputs.distribution }}
java-version: ${{ inputs.java-version }}