diff --git a/.gitea/workflows/build.yml b/.gitea/workflows/build.yml index ad44d30..89aa689 100644 --- a/.gitea/workflows/build.yml +++ b/.gitea/workflows/build.yml @@ -14,11 +14,10 @@ jobs: # Checkout: clone the repo directly instead of actions/checkout - name: Checkout 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 - # Fetch full history for gradle - git fetch --depth=0 origin main - git checkout main + # Shallow clone for speed but fetch full history needed by Gradle + git fetch --unshallow origin main # Set up JDK 17 via apt instead of actions/setup-java - name: Set up JDK 17