Skip to content

Commit 6de255d

Browse files
authored
Merge pull request #2 from aboutbits/naming-alignment
Namings alignments
2 parents 36f5e97 + b6399c6 commit 6de255d

2 files changed

Lines changed: 13 additions & 7 deletions

File tree

readme.md

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,18 @@
22

33
A collection of GitHub actions for Java projects.
44

5-
## Setup Java and Update Dependencies
5+
## Actions
66

7-
This action will set up the Java SDK and initialize the cache for Maven dependencies. It will then install or update all dependencies.
7+
### Setup Node and Install Dependencies
88

9-
### Example
9+
This action will set up the Java SDK and install all dependencies.
10+
11+
Example:
1012

1113
```yaml
12-
- name: Checkout source code
13-
uses: actions/checkout@v3
14+
- uses: actions/checkout@v3
1415

15-
- uses: aboutbits/github-actions-java/setup-and-update-dependencies@v1
16+
- uses: aboutbits/github-actions-java/setup-and-install@v1
1617
```
1718
1819
## Versioning
Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
1-
name: 'Setup Java and update dependencies'
1+
name: 'Setup Java and install dependencies'
22
description: 'Setup Java SDK, fetch and cache packages dependencies.'
33

44
inputs:
5+
working-directory:
6+
description: 'The working directory'
7+
required: false
8+
default: '.'
59
java-version:
610
default: '17'
711
description: 'Java Version'
@@ -20,5 +24,6 @@ runs:
2024
cache: 'maven'
2125

2226
- name: Update maven dependencies
27+
working-directory: ${{ inputs.working-directory }}
2328
run: ./mvnw --batch-mode --fail-fast dependency:resolve
2429
shell: bash

0 commit comments

Comments
 (0)