File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -4,18 +4,29 @@ A collection of GitHub actions for Java projects.
44
55## Actions
66
7- ### Setup Node and Install Dependencies
7+ ### Setup Java and Install Dependencies
88
99This action will set up the Java SDK and install all dependencies.
1010
11- Example:
11+ #### Example:
1212
1313``` yaml
1414 - uses : actions/checkout@v3
1515
1616 - uses : aboutbits/github-actions-java/setup-and-install@v1
1717` ` `
1818
19+ #### Inputs
20+
21+ The following inputs can be used as ` step.with` keys:
22+
23+ | Name | Required/Default | Description |
24+ |------------------------|------------------|---------------------------|
25+ | `working-directory` | `.` | The working directory |
26+ | `java-version` | `17` | Java Version |
27+ | `distribution` | `corretto` | Java Distribution |
28+
29+
1930# # Versioning
2031
2132In order to have a versioning in place and working, create lightweight tags that point to the appropriate minor release versions.
Original file line number Diff line number Diff line change 11name : ' Setup Java and install dependencies'
2- description : ' Setup Java SDK, fetch and cache packages dependencies. '
2+ description : ' Setup Java SDK, fetch and cache packages dependencies'
33
44inputs :
55 working-directory :
66 description : ' The working directory'
7- required : false
87 default : ' .'
98 java-version :
109 default : ' 17'
You can’t perform that action at this time.
0 commit comments