Skip to content

Commit

Permalink
Only checkout submodules for android
Browse files Browse the repository at this point in the history
Only the Android build makes use of the submodule for oboe,
so no need to fetch it when building other architectures.
  • Loading branch information
softins committed Jun 11, 2024
1 parent db0724f commit c60f955
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/autobuild.yml
Original file line number Diff line number Diff line change
Expand Up @@ -314,7 +314,8 @@ jobs:
- name: Checkout code
uses: actions/checkout@v4
with:
submodules: true
# only Android needs the oboe submodule, so don't fetch it for other builds
submodules: ${{ matrix.config.target_os == 'android' }}
fetch-depth: ${{ matrix.config.checkout_fetch_depth || '1' }}

- name: Cache Mac dependencies
Expand Down

0 comments on commit c60f955

Please sign in to comment.