From 8c9bf3e8d47c9dbb5f70a195d7c90ed38549c8e5 Mon Sep 17 00:00:00 2001 From: Fedor Dikarev Date: Wed, 20 Nov 2024 14:41:57 +0100 Subject: [PATCH] checkout only required submodule --- .github/workflows/build-macos.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build-macos.yml b/.github/workflows/build-macos.yml index 1ef0f9b9a7..2ed28dac95 100644 --- a/.github/workflows/build-macos.yml +++ b/.github/workflows/build-macos.yml @@ -54,9 +54,13 @@ jobs: # Hence keeping target/ (and general cache size) smaller BUILD_TYPE: release steps: - - name: Checkout + - name: Checkout main repo + uses: actions/checkout@v4 + + - name: Checkout submodule vendor/postgres-${{ matrix.postgres-version }} uses: actions/checkout@v4 with: + filter: vendor/postgres-${{ matrix.postgres-version }} submodules: true - name: Install build dependencies