File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 22
33A 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
Original file line number Diff line number Diff line change 1- name : ' Setup Java and update dependencies'
1+ name : ' Setup Java and install dependencies'
22description : ' Setup Java SDK, fetch and cache packages dependencies.'
33
44inputs :
5+ working-directory :
6+ description : ' The working directory'
7+ required : false
8+ default : ' .'
59 java-version :
610 default : ' 17'
711 description : ' Java Version'
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
You can’t perform that action at this time.
0 commit comments