Add java-opts argument. Fixes #8
This commit is contained in:
parent
77fb95c777
commit
9d00b8a3e3
2 changed files with 7 additions and 1 deletions
|
@ -104,6 +104,7 @@ You may use `latest` to pull the latest stable release or +
|
|||
Defaults to the directory the calling workflow runs in.
|
||||
| setup-java | boolean | true | Automatically setup a Java runtime. +
|
||||
Java runtime defaults to Zulu 17.
|
||||
| java-opts | boolean | | Additional JVM parameters for running JReleaser
|
||||
|===
|
||||
|
||||
== Environment Variables
|
||||
|
|
|
@ -27,6 +27,11 @@ inputs:
|
|||
description: 'Setup internal Java runtime.'
|
||||
required: false
|
||||
|
||||
java-opts:
|
||||
default: ''
|
||||
description: 'Additional JVM parameters'
|
||||
required: false
|
||||
|
||||
runs:
|
||||
using: 'composite'
|
||||
steps:
|
||||
|
@ -51,4 +56,4 @@ runs:
|
|||
working-directory: ${{ inputs.working-directory }}
|
||||
run: |
|
||||
echo "☕ java -jar jreleaser-cli.jar ${{ inputs.arguments }}"
|
||||
java -jar jreleaser-cli.jar ${{ inputs.arguments }}
|
||||
java ${{ inputs.java-opts }} -jar jreleaser-cli.jar ${{ inputs.arguments }}
|
||||
|
|
Loading…
Reference in a new issue