mirror of
https://github.com/actions/checkout.git
synced 2025-07-12 08:40:45 +00:00
add the ability to disable core.autocrlf
This commit is contained in:
parent
25a956c84d
commit
931cbfe4af
5 changed files with 28 additions and 0 deletions
|
@ -118,5 +118,9 @@ export function getInputs(): IGitSourceSettings {
|
|||
result.persistCredentials =
|
||||
(core.getInput('persist-credentials') || 'false').toUpperCase() === 'TRUE'
|
||||
|
||||
// Autocrlf
|
||||
result.autocrlf = (core.getInput('autocrlf') || 'true').toUpperCase() === 'TRUE'
|
||||
core.debug(`autocrlf = ${result.autocrlf}`)
|
||||
|
||||
return result
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue