mirror of
https://github.com/s4u/setup-maven-action.git
synced 2026-02-17 00:00:10 +08:00
Add persist-credentials for checkout action with default false
This commit is contained in:
@ -16,6 +16,12 @@ inputs:
|
||||
description: 'Relative path under $GITHUB_WORKSPACE to place the repository'
|
||||
required: false
|
||||
|
||||
checkout-persist-credentials:
|
||||
description: 'Whether to configure the token or SSH key with the local git config'
|
||||
default: 'false'
|
||||
required: false
|
||||
|
||||
|
||||
# java jdk params
|
||||
|
||||
java-version:
|
||||
@ -73,6 +79,7 @@ runs:
|
||||
with:
|
||||
fetch-depth: '${{ inputs.checkout-fetch-depth }}'
|
||||
path: '${{ inputs.checkout-path }}'
|
||||
persist-credentials: '${{ inputs.checkout-persist-credentials }}'
|
||||
|
||||
- uses: actions/setup-java@v3
|
||||
with:
|
||||
|
||||
Reference in New Issue
Block a user