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
Merge pull request #86 from afonso-vilela/add-checkout-ssh-key
chore: add checkout-ssh-key as input to allow git commits after the checkout
This commit is contained in:
commit
8a09fe4cf2
@ -34,6 +34,7 @@ For default values you only need:
|
||||
| checkout-ref | ref | |
|
||||
| checkout-repository | repository | ${{ github.repository }} |
|
||||
| checkout-token | token | ${{ github.token }} |
|
||||
| checkout-ssh-key | ssh-key | |
|
||||
| checkout-persist-credentials | persist-credentials | false |
|
||||
|
||||
## setup-java
|
||||
|
||||
@ -39,6 +39,10 @@ inputs:
|
||||
required: false
|
||||
default: ${{ github.token }}
|
||||
|
||||
checkout-ssh-key:
|
||||
description: 'SSH key used to fetch the repository. It allows to run authenticated git commands'
|
||||
required: false
|
||||
|
||||
# java jdk params
|
||||
|
||||
java-version:
|
||||
@ -115,6 +119,7 @@ runs:
|
||||
ref: '${{ inputs.checkout-ref }}'
|
||||
repository: '${{ inputs.checkout-repository }}'
|
||||
token: '${{ inputs.checkout-token }}'
|
||||
ssh-key: '${{ inputs.checkout-ssh-key }}'
|
||||
|
||||
- uses: actions/setup-java@v4
|
||||
with:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user