Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

getting "--filter can only be used when extensions.partialClone is set" error while using sparse-checkout #238

Open
itay-itzhak-wdc opened this issue Jun 21, 2023 · 1 comment

Comments

@itay-itzhak-wdc
Copy link

here is my step:

  • name : Checks-out repository
    uses: actions/checkout@v3
    with:
    repository: 'fpe-products/fw-fwcode'
    ref: 'dev'
    ssh-key: ${{ inputs.myKey }}
    path: '${{ github.workspace }}\fw-release\spa'
    sparse-checkout: SystemCfgsDefaults

Output:
Error: fatal: --filter can only be used when extensions.partialClone is set
The process 'C:\Program Files\Git\cmd\git.exe' failed with exit code 128
Waiting 14 seconds before trying again

I also tried to run 'git config extensions.partialClone true' prior the checkout step with no success (It seems that the repo root folder is cleaned on the checkout step)

@Scusemua
Copy link

Did you happen to figure out to resolve this? I'm experiencing the same issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants