Add working-directory
input
This commit is contained in:
parent
867377381d
commit
d7a9d6425c
1 changed files with 7 additions and 0 deletions
|
@ -18,11 +18,17 @@ inputs:
|
||||||
default: 'full-release'
|
default: 'full-release'
|
||||||
required: true
|
required: true
|
||||||
|
|
||||||
|
working-directory:
|
||||||
|
required: true
|
||||||
|
default: ${{ github.workspace }}
|
||||||
|
description: 'The directory to change into.'
|
||||||
|
|
||||||
runs:
|
runs:
|
||||||
using: 'composite'
|
using: 'composite'
|
||||||
steps:
|
steps:
|
||||||
- name: 'Download JReleaser'
|
- name: 'Download JReleaser'
|
||||||
shell: bash
|
shell: bash
|
||||||
|
working-directory: ${{ inputs.working-directory }}
|
||||||
run: |
|
run: |
|
||||||
echo "::group::📦 Download JReleaser"
|
echo "::group::📦 Download JReleaser"
|
||||||
java "${{ github.action_path }}/copy.java" ${{ inputs.version }}
|
java "${{ github.action_path }}/copy.java" ${{ inputs.version }}
|
||||||
|
@ -31,6 +37,7 @@ runs:
|
||||||
|
|
||||||
- name: 'Execute JReleaser'
|
- name: 'Execute JReleaser'
|
||||||
shell: bash
|
shell: bash
|
||||||
|
working-directory: ${{ inputs.working-directory }}
|
||||||
run: |
|
run: |
|
||||||
echo "☕ java -jar jreleaser-cli.jar ${{ inputs.arguments }}"
|
echo "☕ java -jar jreleaser-cli.jar ${{ inputs.arguments }}"
|
||||||
java -jar jreleaser-cli.jar ${{ inputs.arguments }}
|
java -jar jreleaser-cli.jar ${{ inputs.arguments }}
|
||||||
|
|
Loading…
Reference in a new issue