From c60f955a0996612982d18d2f66cbe633cc82dcdd Mon Sep 17 00:00:00 2001 From: Tony Mountifield Date: Tue, 30 Apr 2024 23:15:38 +0100 Subject: [PATCH] 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. --- .github/workflows/autobuild.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/autobuild.yml b/.github/workflows/autobuild.yml index e8d88d2655..b839360822 100644 --- a/.github/workflows/autobuild.yml +++ b/.github/workflows/autobuild.yml @@ -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