Skip to content

Commit c60f955

Browse files
committed
Only checkout submodules for android
Only the Android build makes use of the submodule for oboe, so no need to fetch it when building other architectures.
1 parent db0724f commit c60f955

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/autobuild.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -314,7 +314,8 @@ jobs:
314314
- name: Checkout code
315315
uses: actions/checkout@v4
316316
with:
317-
submodules: true
317+
# only Android needs the oboe submodule, so don't fetch it for other builds
318+
submodules: ${{ matrix.config.target_os == 'android' }}
318319
fetch-depth: ${{ matrix.config.checkout_fetch_depth || '1' }}
319320

320321
- name: Cache Mac dependencies

0 commit comments

Comments
 (0)