step-security/Setup AdoptOpenJDK

Set up OpenJDK from AdoptOpenJDK or Eclipse Temurin.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
release_typeType of release. Either a release version, known as General Availability ("ga") or an Early Access ("ea"). Default: "ga"noga
java-versionOpenJDK feature release version you wish to download. Feature versions are whole numbers, example 8, 11, 15yes
java-packageThe package type (jre, jdk). Default: "jdk"nojdk
openjdk_implJVM implementation, example: "hotspot", "openj9". Default: "hotspot"nohotspot
architectureArchitecture of the JDK, example: "x64", "x32", "ppc64", "s390x", "ppc64le", "aarch64". Default: "x64"nox64
heap_sizeHeap size for OpenJ9, example: "normal", "large" (for heaps >=57 GiB). Default: "normal"nonormal
releaseExact release of OpenJDK, example: "latest", "jdk-11.0.4+11.4", "jdk8u172-b00-201807161800". Default: "latest"nolatest
jdkFilePath to where the compressed JDK is located. The path could be in your source repository or a local path on the agent.no
server-idID of the distributionManagement repository in the pom.xml file. Default is `github`nogithub
server-usernameEnvironment variable name for the username for authentication to the Apache Maven repository. Default is $GITHUB_ACTORnoGITHUB_ACTOR
server-passwordEnvironment variable name for password or token for authentication to the Apache Maven repository. Default is $GITHUB_TOKENnoGITHUB_TOKEN
settings-pathPath to where the settings.xml file will be written. Default is ~/.m2.no
gpg-private-keyGPG private key to import. Default is empty string.no
gpg-passphraseEnvironment variable name for the GPG private key passphrase. Default is $GPG_PASSPHRASE.no
overwrite-settingsOverwrite the settings.xml file if it exists. Default is "true".no
namedescription
pathPath to where the java environment has been installed (same as $JAVA_HOME)
versionActual version of the java environment that has been installed