mirror of
https://github.com/s4u/setup-maven-action.git
synced 2026-10-09 09:19:59 +08:00
Add support to checkout Git-LFS files
This commit is contained in:
committed by
Slawomir Jaranowski
parent
9b59472da0
commit
4a02cbd997
@@ -37,6 +37,7 @@ For default values you only need:
|
||||
| checkout-token | token | ${{ github.token }} |
|
||||
| checkout-ssh-key | ssh-key | |
|
||||
| checkout-persist-credentials | persist-credentials | false |
|
||||
| checkout-lfs | lfs | false |
|
||||
|
||||
## setup-java
|
||||
|
||||
|
||||
@@ -48,6 +48,10 @@ inputs:
|
||||
description: 'SSH key used to fetch the repository. It allows to run authenticated git commands'
|
||||
required: false
|
||||
|
||||
checkout-lfs:
|
||||
description: 'Whether to download Git-LFS files'
|
||||
required: false
|
||||
|
||||
# java jdk params
|
||||
|
||||
java-version:
|
||||
@@ -143,6 +147,7 @@ runs:
|
||||
repository: '${{ inputs.checkout-repository }}'
|
||||
token: '${{ inputs.checkout-token }}'
|
||||
ssh-key: '${{ inputs.checkout-ssh-key }}'
|
||||
lfs: '${{ inputs.checkout-lfs }}'
|
||||
|
||||
- uses: actions/setup-java@dd06d9cba3e5552c54d9f8ea23572deb30010f7c
|
||||
with:
|
||||
|
||||
Reference in New Issue
Block a user