mirror of
https://github.com/actions/checkout.git
synced 2025-12-14 06:19:24 +00:00
added filter option & tests
This commit is contained in:
@@ -82,6 +82,10 @@ export async function getInputs(): Promise<IGitSourceSettings> {
|
||||
result.clean = (core.getInput('clean') || 'true').toUpperCase() === 'TRUE'
|
||||
core.debug(`clean = ${result.clean}`)
|
||||
|
||||
// Filter
|
||||
result.filter = core.getInput('filter')
|
||||
core.debug(`filter = ${result.filter}`)
|
||||
|
||||
// Sparse checkout
|
||||
const sparseCheckout = core.getMultilineInput('sparse-checkout')
|
||||
if (sparseCheckout.length) {
|
||||
|
||||
Reference in New Issue
Block a user