Checkout submodules recursively in workflows

Add 'submodules: recursive' to the actions/checkout step in build-pr.yml, build.yml, and publish-api.yml so CI jobs fetch repository submodules. This ensures submodules are available during builds and aligns checkout configuration across workflows (keeping fetch-depth: 0 where already set).
This commit is contained in:
2026-07-09 18:51:02 +08:00
parent ac5e37415a
commit 16f5ff22de
3 changed files with 4 additions and 0 deletions
+1
View File
@@ -30,6 +30,7 @@ jobs:
uses: actions/checkout@v7
with:
fetch-depth: 0
submodules: recursive
- name: Get Branch Build Number
run: |