diff --git a/README.md b/README.md index 74542cd..66a2592 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/action.yml b/action.yml index c412605..42a2081 100644 --- a/action.yml +++ b/action.yml @@ -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: