fix(ci): use shallow clone to improve performance
This commit is contained in:
parent
64c4487b8e
commit
4e7db823ea
2 changed files with 2 additions and 2 deletions
|
|
@ -26,7 +26,7 @@ jobs:
|
|||
|
||||
- name: Setup Workspace
|
||||
run: |
|
||||
git clone --recursive https://alm.pragmatismo.com.br/GeneralBots/gb.git workspace
|
||||
git clone --depth 1 --recursive https://alm.pragmatismo.com.br/GeneralBots/gb.git workspace
|
||||
rm -rf workspace/botserver
|
||||
mv botserver workspace/botserver
|
||||
|
||||
|
|
|
|||
|
|
@ -231,7 +231,7 @@ When configuring CI/CD pipelines (e.g., Forgejo Actions):
|
|||
```yaml
|
||||
- name: Setup Workspace
|
||||
run: |
|
||||
git clone --recursive https://alm.pragmatismo.com.br/GeneralBots/gb.git workspace
|
||||
git clone --depth 1 --recursive https://alm.pragmatismo.com.br/GeneralBots/gb.git workspace
|
||||
rm -rf workspace/botserver
|
||||
mv botserver workspace/botserver
|
||||
```
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue