fix: shallow
This commit is contained in:
@@ -18,7 +18,8 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- name: Clone repository with submodules
|
- name: Clone repository with submodules
|
||||||
run: |
|
run: |
|
||||||
git clone --recurse-submodules -c http.extraheader="Authorization: Bearer ${{ gitea.token }}" ${{ gitea.server_url }}/${{ gitea.repository }}.git .
|
git config --global url."https://token:${{ gitea.token }}@${{ gitea.server_url | replace("https://", "") }}/".insteadOf "${{ gitea.server_url }}/"
|
||||||
|
git clone --recurse-submodules ${{ gitea.server_url }}/${{ gitea.repository }}.git .
|
||||||
ls -la app/ # Debug
|
ls -la app/ # Debug
|
||||||
|
|
||||||
- name: Setup Go
|
- name: Setup Go
|
||||||
|
|||||||
Reference in New Issue
Block a user