mirror of
https://gitee.com/actions-mirror/checkout.git
synced 2024-11-23 23:00:41 +08:00
.
This commit is contained in:
parent
e1b7fe15cf
commit
276befb35c
2
dist/index.js
vendored
2
dist/index.js
vendored
@ -641,7 +641,6 @@ class GitCommandManager {
|
|||||||
args.push('--no-tags');
|
args.push('--no-tags');
|
||||||
}
|
}
|
||||||
args.push('--prune', '--no-recurse-submodules');
|
args.push('--prune', '--no-recurse-submodules');
|
||||||
console.log(`options show progress = ${options.showProgress}`);
|
|
||||||
if (options.showProgress) {
|
if (options.showProgress) {
|
||||||
args.push('--progress');
|
args.push('--progress');
|
||||||
}
|
}
|
||||||
@ -1748,7 +1747,6 @@ function getInputs() {
|
|||||||
result.showProgress =
|
result.showProgress =
|
||||||
(core.getInput('show-progress') || 'true').toUpperCase() === 'TRUE';
|
(core.getInput('show-progress') || 'true').toUpperCase() === 'TRUE';
|
||||||
core.debug(`show progress = ${result.showProgress}`);
|
core.debug(`show progress = ${result.showProgress}`);
|
||||||
console.log(`show progress = ${result.showProgress}`);
|
|
||||||
// LFS
|
// LFS
|
||||||
result.lfs = (core.getInput('lfs') || 'false').toUpperCase() === 'TRUE';
|
result.lfs = (core.getInput('lfs') || 'false').toUpperCase() === 'TRUE';
|
||||||
core.debug(`lfs = ${result.lfs}`);
|
core.debug(`lfs = ${result.lfs}`);
|
||||||
|
@ -255,7 +255,6 @@ class GitCommandManager {
|
|||||||
}
|
}
|
||||||
|
|
||||||
args.push('--prune', '--no-recurse-submodules')
|
args.push('--prune', '--no-recurse-submodules')
|
||||||
console.log(`options show progress = ${options.showProgress}`)
|
|
||||||
if (options.showProgress) {
|
if (options.showProgress) {
|
||||||
args.push('--progress')
|
args.push('--progress')
|
||||||
}
|
}
|
||||||
|
@ -109,7 +109,6 @@ export async function getInputs(): Promise<IGitSourceSettings> {
|
|||||||
result.showProgress =
|
result.showProgress =
|
||||||
(core.getInput('show-progress') || 'true').toUpperCase() === 'TRUE'
|
(core.getInput('show-progress') || 'true').toUpperCase() === 'TRUE'
|
||||||
core.debug(`show progress = ${result.showProgress}`)
|
core.debug(`show progress = ${result.showProgress}`)
|
||||||
console.log(`show progress = ${result.showProgress}`)
|
|
||||||
// LFS
|
// LFS
|
||||||
result.lfs = (core.getInput('lfs') || 'false').toUpperCase() === 'TRUE'
|
result.lfs = (core.getInput('lfs') || 'false').toUpperCase() === 'TRUE'
|
||||||
core.debug(`lfs = ${result.lfs}`)
|
core.debug(`lfs = ${result.lfs}`)
|
||||||
|
Loading…
Reference in New Issue
Block a user