From 4029b858eaaa3f029d30a02a930f887853239169 Mon Sep 17 00:00:00 2001 From: Julius Marminge Date: Thu, 30 Jul 2026 13:15:03 -0700 Subject: [PATCH] fix(ci): drop sparse-checkout from EAS workflows actions/checkout implements sparse-checkout with --filter=blob:none, so the runner repo is a partial clone missing the .repos/ blobs. eas-cli archives the project via `git clone --depth 1 file://`, which upload-pack cannot serve from a partial clone and exits 128 (#4802 broke both EAS build workflows this way). Co-Authored-By: Claude Fable 5 --- .github/workflows/mobile-eas-preview.yml | 8 ++++---- .github/workflows/mobile-eas-production.yml | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/mobile-eas-preview.yml b/.github/workflows/mobile-eas-preview.yml index d8b07208c139de20b6c010c06ac5a1ad4a23358f..d53602f8f5e80696c13f02a24a53f2a942efb7fd 100644 --- a/.github/workflows/mobile-eas-preview.yml +++ b/.github/workflows/mobile-eas-preview.yml @@ -39,10 +39,10 @@ jobs: uses: actions/checkout@v6 with: fetch-depth: 0 - sparse-checkout: | - /* - !/.repos/ - sparse-checkout-cone-mode: false + # No sparse-checkout here: it makes actions/checkout fetch with + # --filter=blob:none, and eas-cli archives the project via + # `git clone --depth 1 file://`, which fails (exit 128) + # when the partial clone can't serve the unfetched blobs. - name: Setup Vite+ if: steps.expo-token.outputs.present == 'true' diff --git a/.github/workflows/mobile-eas-production.yml b/.github/workflows/mobile-eas-production.yml index 95cd0ddacc8feae3a69d3fccb97b83c95af40250..2e61de6039e86ae29be9011127fe9dbcef30bbbe 100644 --- a/.github/workflows/mobile-eas-production.yml +++ b/.github/workflows/mobile-eas-production.yml @@ -57,10 +57,10 @@ jobs: uses: actions/checkout@v6 with: fetch-depth: 0 - sparse-checkout: | - /* - !/.repos/ - sparse-checkout-cone-mode: false + # No sparse-checkout here: it makes actions/checkout fetch with + # --filter=blob:none, and eas-cli archives the project via + # `git clone --depth 1 file://`, which fails (exit 128) + # when the partial clone can't serve the unfetched blobs. - name: Setup Vite+ if: steps.expo-token.outputs.present == 'true' -- 2.54.0