Skip to content

Commit 38ec26d

Browse files
authored
Merge pull request #3 from aboutbits/feature/initV1
update readme
2 parents 6de255d + a3a2ca1 commit 38ec26d

2 files changed

Lines changed: 14 additions & 4 deletions

File tree

readme.md

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff 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

99
This 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

2132
In order to have a versioning in place and working, create lightweight tags that point to the appropriate minor release versions.

setup-and-install/action.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
name: '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

44
inputs:
55
working-directory:
66
description: 'The working directory'
7-
required: false
87
default: '.'
98
java-version:
109
default: '17'

0 commit comments

Comments
 (0)