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
+2
View File
@@ -11,6 +11,8 @@ jobs:
steps:
- name: Checkout Git Repository
uses: actions/checkout@v7
with:
submodules: recursive
- name: Set Up JDK
uses: actions/setup-java@v5