From 350ae9a9fedc3a9da7e515f65cfa0cb4f4f9b5ff Mon Sep 17 00:00:00 2001 From: Fedor Dikarev Date: Tue, 15 Oct 2024 00:15:06 +0200 Subject: [PATCH] try to sparse-checkout --- .github/workflows/build-macos.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build-macos.yml b/.github/workflows/build-macos.yml index 3c78a3c600..90830b1f80 100644 --- a/.github/workflows/build-macos.yml +++ b/.github/workflows/build-macos.yml @@ -54,10 +54,12 @@ jobs: # Hence keeping target/ (and general cache size) smaller BUILD_TYPE: release steps: - - name: Checkout + - name: Checkout with ${{ matrix.postgres-version }} Submodule uses: actions/checkout@v4 with: submodules: true + sparse-checkout: | + vendor/${{ matrix.postgres-version }} - name: Build ${{ matrix.postgres-version }} run: |