mirror of
https://github.com/s4u/setup-maven-action.git
synced 2026-02-18 00:00:11 +08:00
Maven 3.8.4 as default
This commit is contained in:
2
.github/workflows/test.yml
vendored
2
.github/workflows/test.yml
vendored
@ -47,7 +47,7 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
java-version: 8
|
java-version: 8
|
||||||
|
|
||||||
- run: mvn -V validate -Drequire.java=8 -Drequire.maven=3.8.3
|
- run: mvn -V validate -Drequire.java=8 -Drequire.maven=3.8.4
|
||||||
shell: bash
|
shell: bash
|
||||||
|
|
||||||
test-ok:
|
test-ok:
|
||||||
|
|||||||
26
README.md
26
README.md
@ -18,7 +18,7 @@ This is composite action which help to prepare GitHub Actions environment for Ma
|
|||||||
# Project versioning
|
# Project versioning
|
||||||
|
|
||||||
This project uses [Semantic Versioning](https://semver.org/).
|
This project uses [Semantic Versioning](https://semver.org/).
|
||||||
We recommended to use the latest and specific release version.
|
We recommended using the latest and specific release version.
|
||||||
|
|
||||||
In order to keep your project dependencies up to date you can watch this repository *(Releases only)*
|
In order to keep your project dependencies up to date you can watch this repository *(Releases only)*
|
||||||
or use automatic tools like [Dependabot](https://docs.github.com/en/code-security/supply-chain-security/keeping-your-dependencies-updated-automatically/about-dependabot-version-updates).
|
or use automatic tools like [Dependabot](https://docs.github.com/en/code-security/supply-chain-security/keeping-your-dependencies-updated-automatically/about-dependabot-version-updates).
|
||||||
@ -27,15 +27,15 @@ or use automatic tools like [Dependabot](https://docs.github.com/en/code-securit
|
|||||||
|
|
||||||
## checkout
|
## checkout
|
||||||
|
|
||||||
| params | destination |
|
| params | destination |
|
||||||
| -------------------------- |------------------ |
|
|----------------------|-------------|
|
||||||
| checkout-fetch-depth | fetch-depth |
|
| checkout-fetch-depth | fetch-depth |
|
||||||
|
|
||||||
|
|
||||||
## setup-java
|
## setup-java
|
||||||
|
|
||||||
| params | destination | default |
|
| params | destination | default |
|
||||||
| ----------------- |------------- |-------- |
|
|-------------------|--------------|---------|
|
||||||
| java-version | java-version | |
|
| java-version | java-version | |
|
||||||
| java-distribution | distribution | temurin |
|
| java-distribution | distribution | temurin |
|
||||||
|
|
||||||
@ -55,23 +55,23 @@ A cache action is configured as:
|
|||||||
|
|
||||||
So we can use for action:
|
So we can use for action:
|
||||||
|
|
||||||
| params | description |
|
| params | description |
|
||||||
| ----------------- |--------------------------------------------------------- |
|
|----------------|----------------------------------------------------------|
|
||||||
| cache-path | default cache path for Maven with value ~/.m2/repository |
|
| cache-path | default cache path for Maven with value ~/.m2/repository |
|
||||||
| cache-path-add | additional value for cache path |
|
| cache-path-add | additional value for cache path |
|
||||||
| cache-prefix | prefix value for `key` and `restore-keys` cache params |
|
| cache-prefix | prefix value for `key` and `restore-keys` cache params |
|
||||||
|
|
||||||
|
|
||||||
## setup-maven
|
## setup-maven
|
||||||
|
|
||||||
| params | destination | default |
|
| params | destination | default |
|
||||||
| ------------- |-------------- |-------- |
|
|---------------|---------------|---------|
|
||||||
| maven-version | maven-version | 3.8.3 |
|
| maven-version | maven-version | 3.8.4 |
|
||||||
|
|
||||||
## maven-settings-action
|
## maven-settings-action
|
||||||
|
|
||||||
| params | destination |
|
| params | destination |
|
||||||
| -------------------------- |------------------ |
|
|----------------------------|-------------------|
|
||||||
| settings-servers | servers |
|
| settings-servers | servers |
|
||||||
| settings-mirrors | mirrors |
|
| settings-mirrors | mirrors |
|
||||||
| settings-properties | properties |
|
| settings-properties | properties |
|
||||||
|
|||||||
@ -40,7 +40,7 @@ inputs:
|
|||||||
# maven version
|
# maven version
|
||||||
maven-version:
|
maven-version:
|
||||||
description: 'The Maven version to set up'
|
description: 'The Maven version to set up'
|
||||||
default: '3.8.3'
|
default: '3.8.4'
|
||||||
required: false
|
required: false
|
||||||
|
|
||||||
# maven settings.xml
|
# maven settings.xml
|
||||||
|
|||||||
Reference in New Issue
Block a user