Skip to content

Commit 6d0df65

Browse files
ci(mobile): dev client checkout keeps credentials (gitlinks under .repos break their removal)
Co-Authored-By: Claude Fable 5.2 <[email protected]>
1 parent a645842 commit 6d0df65

1 file changed

Lines changed: 6 additions & 3 deletions

File tree

‎.github/workflows/mobile-dev-client.yml‎

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -83,9 +83,10 @@ jobs:
8383
steps:
8484
- name: Checkout
8585
uses: actions/checkout@v6
86+
# Credentials stay: removing them runs `git submodule foreach`, which fails on
87+
# the vendored repositories' gitlinks under .repos (they have no .gitmodules entry).
8688
with:
8789
ref: ${{ inputs.ref || github.sha }}
88-
persist-credentials: false
8990

9091
- name: Prepare build directories
9192
run: |
@@ -167,7 +168,8 @@ jobs:
167168
echo "### android dev client: \`$(jq -r '.source' <<<"$result")\` for fingerprint \`$(jq -r '.fingerprint' <<<"$result")\`" >> "$GITHUB_STEP_SUMMARY"
168169
169170
- name: Cache statistics
170-
if: always()
171+
if: success() || failure()
172+
continue-on-error: true
171173
run: |
172174
{
173175
echo '```'
@@ -192,9 +194,10 @@ jobs:
192194
steps:
193195
- name: Checkout
194196
uses: actions/checkout@v6
197+
# Credentials stay: removing them runs `git submodule foreach`, which fails on
198+
# the vendored repositories' gitlinks under .repos (they have no .gitmodules entry).
195199
with:
196200
ref: ${{ inputs.ref || github.sha }}
197-
persist-credentials: false
198201

199202
- name: Setup dependencies
200203
uses: ./.github/actions/setup-ci-deps

0 commit comments

Comments
 (0)