1
0
Fork 0
mirror of https://code.forgejo.org/actions/checkout.git synced 2025-04-26 22:09:55 +02:00

clean-submodules

This commit is contained in:
Hazel 2024-01-29 15:54:16 +00:00
parent fc0a6fcb57
commit 1f1d74371e
No known key found for this signature in database
GPG key ID: C7C5A3D1A085B70F
7 changed files with 41 additions and 13 deletions

View file

@ -82,6 +82,10 @@ export async function getInputs(): Promise<IGitSourceSettings> {
result.clean = (core.getInput('clean') || 'true').toUpperCase() === 'TRUE'
core.debug(`clean = ${result.clean}`)
// Clean
result.cleanSubmodules = (core.getInput('clean-submodules') || core.getInput('clean') || 'true').toUpperCase() === 'TRUE'
core.debug(`clean-submodules = ${result.clean}`)
// Filter
const filter = core.getInput('filter')
if (filter) {