alanbinu007/Setup Java JDK

Set up a specific version of the Java JDK and add the command-line tools to the PATH

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stalelast commit Sep 18, 2021
License
BSD
Runtime
Deprecated runtime

Pinned Snippet

workflow.ymlSHA-pinned
uses: alanbinu007/react-native-music-player@b3a820a5ddcaab6090214a77217cc7d26cd9e868 # v1.1

tags can be moved; commit SHAs can't. why a SHA?

namedescriptionrequireddefault
java-versionThe Java version to set up. Takes a whole or semver Java version. See examples of supported syntax in README fileyes
distributionJava distribution. See the list of supported distributions in README fileyes
java-packageThe package type (jdk, jre, jdk+fx, jre+fx)nojdk
architectureThe architecture of the packagenox64
jdkFilePath to where the compressed JDK is locatedno
check-latestSet this option if you want the action to check for the latest available version that satisfies the version specnofalse
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
overwrite-settingsOverwrite the settings.xml file if it exists. Default is "true".notrue
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
cacheName of the build platform to cache dependencies. It can be "maven" or "gradle".no
job-statusWorkaround to pass job status to post job step. This variable is not intended for manual setting${{ job.status }}
namedescription
distributionDistribution of Java that has been installed
versionActual version of the java environment that has been installed
pathPath to where the java environment has been installed (same as $JAVA_HOME)