mirror of
https://github.com/actions/checkout.git
synced 2025-09-15 04:02:20 +08:00
Add a test
This commit is contained in:
2
dist/index.js
vendored
2
dist/index.js
vendored
@@ -1741,7 +1741,7 @@ function getInputs() {
|
||||
core.debug(`commit = '${result.commit}'`);
|
||||
// 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}'`);
|
||||
// Clean
|
||||
|
Reference in New Issue
Block a user