ci: fix git fetch depth (--depth=0 -> --unshallow)
build / Assemble debug APK (push) Failing after 6s

This commit is contained in:
Incido Developer committed 2026-08-20 02:11:09 +12:00
1 parent 5f46579a66
commit a6269a821e
1 file changed
+3 -4
+3 -4
View File
@@ -14,11 +14,10 @@ jobs:
# Checkout: clone the repo directly instead of actions/checkout # Checkout: clone the repo directly instead of actions/checkout
- name: Checkout - name: Checkout
run: | run: |
git clone --depth 1 https://git.trevena.info/nick/incido.git repo git clone https://git.trevena.info/nick/incido.git repo
cd repo cd repo
# Fetch full history for gradle # Shallow clone for speed but fetch full history needed by Gradle
git fetch --depth=0 origin main git fetch --unshallow origin main
git checkout main
# Set up JDK 17 via apt instead of actions/setup-java # Set up JDK 17 via apt instead of actions/setup-java
- name: Set up JDK 17 - name: Set up JDK 17