diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml index 250d434..033e09c 100644 --- a/.gitea/workflows/build.yaml +++ b/.gitea/workflows/build.yaml @@ -7,10 +7,19 @@ jobs: build-macos: runs-on: macos-latest # Runs on your Mac Mini steps: - - name: Checkout + - name: Checkout w/ Submodules uses: actions/checkout@v3 with: - submodules: recursive # Wowlet/Wownero usually need submodules + # 1. recursive: Grabs the main repo AND all nested layers of submodules + submodules: recursive + + # 2. fetch-depth: 0 means "Download Everything" (Full History). + # Why? Shallow clones (depth: 1) often fail with submodules because + # the specific commit the submodule points to might be buried deep in history. + fetch-depth: 0 + + # 3. LFS: Just in case they store binary assets (images, test dbs) in Git LFS. + lfs: true - name: Prepare Environment run: |