checkout
checkout copied to clipboard
An error will be reported when updating the submodule
When calling the checkout action, an error will be reported. This is the task link: https://github.com/PaddlePaddle/Paddle/actions/runs/14889303999/job/41817146967?pr=72610.
Occasionally, it doesn't happen every time, but sometimes it succeeds after rerun.
This is my code
- name: Clone paddle uses: actions/checkout@v4 with: ref: ${{ github.event.pull_request.base.ref }} submodules: 'recursive' fetch-depth: 1000
Brother te dejo mi número de WhatsApp+56968612573 de verdad agradecería mucho que me hablaras y me expliques un poquito esto
I'm getting this error on v2 or higher (v1 works):
The repository will be downloaded using the GitHub REST API
To create a local Git repository instead, add Git 2.18 or higher to the PATH
Error: Input 'submodules' not supported when falling back to download using the GitHub REST API. To create a local Git repository instead, add Git 2.18 or higher to the PATH.
With:
- uses: actions/checkout@v4
with:
fetch-depth: 0
submodules: recursive