mirror of
http://43.153.184.91:8080/https://github.com/s4u/setup-maven-action.git
synced 2026-01-27 11:13:00 +08:00
add cache params for java
This commit is contained in:
parent
5208ed3d35
commit
1b5c25a50a
@ -14,6 +14,10 @@ inputs:
|
||||
default: 'temurin'
|
||||
required: false
|
||||
|
||||
java-cache:
|
||||
description: 'Name of the build platform to cache dependencies. It should be "maven" or empty.'
|
||||
required: true
|
||||
|
||||
# maven version
|
||||
maven-version:
|
||||
description: 'The Maven version to set up'
|
||||
@ -49,6 +53,7 @@ runs:
|
||||
overwrite-settings: false
|
||||
java-version: '${{ inputs.java-version }}'
|
||||
distribution: '${{ inputs.java-distribution }}'
|
||||
cache: '${{ inputs.java-cache }}'
|
||||
- run: echo "::endgroup::"
|
||||
shell: bash
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user