mirror of
https://github.com/actions/checkout.git
synced 2026-11-16 22:45:08 +08:00
feat: make show-progress control checkout verbosity, not just fetch
Previously checkout/checkoutDetach always ran with --progress regardless of the show-progress input, and settings.showProgress was never propagated into fetchOptions. Thread showProgress through checkout and checkoutDetach so they use --quiet when show-progress is false, giving a genuinely quiet checkout when show-progress: false is set. Ported from schlags/checkout (show-progress-required branch) onto current actions/checkout main.
This commit is contained in:
parent
f548e57e54
commit
2f547d07f2
7 changed files with 33 additions and 17 deletions
|
|
@ -78,7 +78,7 @@ inputs:
|
|||
description: 'Whether to fetch tags, even if fetch-depth > 0.'
|
||||
default: false
|
||||
show-progress:
|
||||
description: 'Whether to show progress status output when fetching.'
|
||||
description: 'Whether to show progress status output for git operations.'
|
||||
default: true
|
||||
lfs:
|
||||
description: 'Whether to download Git-LFS files'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue