1
0
Fork 0
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:
Vincent Rischmann 2021-07-12 21:37:39 +02:00
parent 25a956c84d
commit 931cbfe4af
5 changed files with 28 additions and 0 deletions

View file

@ -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
}