Skip to content

Commit 33113d4

Browse files
Create README.md
1 parent 21cd6eb commit 33113d4

File tree

1 file changed

+44
-0
lines changed

1 file changed

+44
-0
lines changed

profile/README.md

+44
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
- name: Setup Java JDK
2+
uses: actions/[email protected]
3+
with:
4+
# The Java version to set up. Takes a whole or semver Java version. See examples of supported syntax in README file
5+
java-version: # optional
6+
# The path to the `.java-version` file. See examples of supported syntax in README file
7+
java-version-file: # optional
8+
# Java distribution. See the list of supported distributions in README file
9+
distribution:
10+
# The package type (jdk, jre, jdk+fx, jre+fx)
11+
java-package: # optional, default is jdk
12+
# The architecture of the package (defaults to the action runner's architecture)
13+
architecture: # optional
14+
# Path to where the compressed JDK is located
15+
jdkFile: # optional
16+
# Set this option if you want the action to check for the latest available version that satisfies the version spec
17+
check-latest: # optional
18+
# ID of the distributionManagement repository in the pom.xml file. Default is `github`
19+
server-id: # optional, default is github
20+
# Environment variable name for the username for authentication to the Apache Maven repository. Default is $GITHUB_ACTOR
21+
server-username: # optional, default is GITHUB_ACTOR
22+
# Environment variable name for password or token for authentication to the Apache Maven repository. Default is $GITHUB_TOKEN
23+
server-password: # optional, default is GITHUB_TOKEN
24+
# Path to where the settings.xml file will be written. Default is ~/.m2.
25+
settings-path: # optional
26+
# Overwrite the settings.xml file if it exists. Default is "true".
27+
overwrite-settings: # optional, default is true
28+
# GPG private key to import. Default is empty string.
29+
gpg-private-key: # optional
30+
# Environment variable name for the GPG private key passphrase. Default is $GPG_PASSPHRASE.
31+
gpg-passphrase: # optional
32+
# Name of the build platform to cache dependencies. It can be "maven", "gradle" or "sbt".
33+
cache: # optional
34+
# The path to a dependency file: pom.xml, build.gradle, build.sbt, etc. This option can be used with the `cache` option. If this option is omitted, the action searches for the dependency file in the entire repository. This option supports wildcards and a list of file names for caching multiple dependencies.
35+
cache-dependency-path: # optional
36+
# Workaround to pass job status to post job step. This variable is not intended for manual setting
37+
job-status: # optional, default is ${{ job.status }}
38+
# The token used to authenticate when fetching version manifests hosted on github.com, such as for the Microsoft Build of OpenJDK. When running this action on github.com, the default value is sufficient. When running on GHES, you can pass a personal access token for github.com if you are experiencing rate limiting.
39+
token: # optional, default is ${{ github.server_url == 'https://github.com' && github.token || '' }}
40+
# Name of Maven Toolchain ID if the default name of "${distribution}_${java-version}" is not wanted. See examples of supported syntax in Advanced Usage file
41+
mvn-toolchain-id: # optional
42+
# Name of Maven Toolchain Vendor if the default name of "${distribution}" is not wanted. See examples of supported syntax in Advanced Usage file
43+
mvn-toolchain-vendor: # optional
44+

0 commit comments

Comments
 (0)