mirror of
https://github.com/actions/checkout.git
synced 2025-10-25 10:28:58 +08:00
Add a test
This commit is contained in:
@@ -80,7 +80,7 @@ export async function getInputs(): Promise<IGitSourceSettings> {
|
||||
|
||||
// Default branch checkout
|
||||
result.defaultBranchCheckout =
|
||||
(core.getInput('default-branch-checkout') || 'true').toUpperCase() ===
|
||||
(core.getInput('default-branch-checkout') || 'false').toUpperCase() ===
|
||||
'TRUE'
|
||||
core.debug(`default-branch-checkout = '${result.defaultBranchCheckout}'`)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user