authorgravatar for julius0216@outlook.comJulius Marminge <julius0216@outlook.com> 2026-07-30 13:15:03-07:00
committergravatar for julius0216@outlook.comJulius Marminge <julius0216@outlook.com> 2026-07-30 13:15:03-07:00
log4029b858eaaa3f029d30a02a930f887853239169
tree069a950cdbdba287a0ee95acff8efbbe7e5831e8
parent5b2577f6a941527e4db4ae32d6d0992e435d58a4

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://<workspace>`, 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 <noreply@anthropic.com>

2 files changed, 8 insertions(+), 8 deletions(-)

.github/workflows/mobile-eas-preview.yml+4-4
......@@ -39,10 +39,10 @@ jobs:
3939 uses: actions/checkout@v6
4040 with:
4141 fetch-depth: 0
42 sparse-checkout: |
43 /*
44 !/.repos/
45 sparse-checkout-cone-mode: false
42 # No sparse-checkout here: it makes actions/checkout fetch with
43 # --filter=blob:none, and eas-cli archives the project via
44 # `git clone --depth 1 file://<workspace>`, which fails (exit 128)
45 # when the partial clone can't serve the unfetched blobs.
4646
4747 - name: Setup Vite+
4848 if: steps.expo-token.outputs.present == 'true'
.github/workflows/mobile-eas-production.yml+4-4
......@@ -57,10 +57,10 @@ jobs:
5757 uses: actions/checkout@v6
5858 with:
5959 fetch-depth: 0
60 sparse-checkout: |
61 /*
62 !/.repos/
63 sparse-checkout-cone-mode: false
60 # No sparse-checkout here: it makes actions/checkout fetch with
61 # --filter=blob:none, and eas-cli archives the project via
62 # `git clone --depth 1 file://<workspace>`, which fails (exit 128)
63 # when the partial clone can't serve the unfetched blobs.
6464
6565 - name: Setup Vite+
6666 if: steps.expo-token.outputs.present == 'true'