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:...@@ -39,10 +39,10 @@ jobs:
39 uses: actions/checkout@v639 uses: actions/checkout@v6
40 with:40 with:
41 fetch-depth: 041 fetch-depth: 0
42 sparse-checkout: |42 # No sparse-checkout here: it makes actions/checkout fetch with
43 /*43 # --filter=blob:none, and eas-cli archives the project via
44 !/.repos/44 # `git clone --depth 1 file://<workspace>`, which fails (exit 128)
45 sparse-checkout-cone-mode: false45 # when the partial clone can't serve the unfetched blobs.
4646
47 - name: Setup Vite+47 - name: Setup Vite+
48 if: steps.expo-token.outputs.present == 'true'48 if: steps.expo-token.outputs.present == 'true'
.github/workflows/mobile-eas-production.yml+4-4
...@@ -57,10 +57,10 @@ jobs:...@@ -57,10 +57,10 @@ jobs:
57 uses: actions/checkout@v657 uses: actions/checkout@v6
58 with:58 with:
59 fetch-depth: 059 fetch-depth: 0
60 sparse-checkout: |60 # No sparse-checkout here: it makes actions/checkout fetch with
61 /*61 # --filter=blob:none, and eas-cli archives the project via
62 !/.repos/62 # `git clone --depth 1 file://<workspace>`, which fails (exit 128)
63 sparse-checkout-cone-mode: false63 # when the partial clone can't serve the unfetched blobs.
6464
65 - name: Setup Vite+65 - name: Setup Vite+
66 if: steps.expo-token.outputs.present == 'true'66 if: steps.expo-token.outputs.present == 'true'