mirror of
https://github.com/actions/setup-java.git
synced 2025-04-20 09:56:46 +00:00
Add functionality to setup maven binary
Add functionality to setup maven in order to use for project building
This commit is contained in:
parent
104660f1cc
commit
6fa8ff8bf6
12 changed files with 222 additions and 127 deletions
19
README.md
19
README.md
|
@ -13,6 +13,25 @@ This action sets up a java environment for use in actions by:
|
|||
|
||||
See [action.yml](action.yml)
|
||||
|
||||
## MTLS Basic
|
||||
```yaml
|
||||
steps:
|
||||
- uses: tradeshift/actions-setup-java@master
|
||||
with:
|
||||
# standard github actions parameters
|
||||
# possible values explained in sections below
|
||||
java-version: 11
|
||||
# mvn and MTLS related parameters
|
||||
maven-version: "3.6.3"
|
||||
maven-ca-cert-b64: ${{ secrets.MTLS_CACERT }}
|
||||
maven-keystore-p12-b64: ${{ secrets.MAVEN_P12 }}
|
||||
maven-keystore-password: ${{ secrets.MAVEN_P12_PASSWORD }}
|
||||
maven-settings-b64: ${{ secrets.MAVEN_SETTINGS }}
|
||||
maven-security-settings-b64: ${{ secrets.MAVEN_SECURITY }}
|
||||
- run: |
|
||||
mvn -B compile
|
||||
```
|
||||
|
||||
## Basic
|
||||
```yaml
|
||||
steps:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue