From 20731b31e666c6985056e234e901596f61c8c133 Mon Sep 17 00:00:00 2001 From: HapeLee <63206378+HapeLee@users.noreply.github.com> Date: Mon, 1 Jun 2026 01:17:20 +0800 Subject: [PATCH] =?UTF-8?q?ci:=20=E4=BF=AE=E5=A4=8Dbuild-apk-for-user=20-?= =?UTF-8?q?=20=E7=A7=BB=E9=99=A4=E9=98=BF=E9=87=8C=E4=BA=91=E9=95=9C?= =?UTF-8?q?=E5=83=8F=20+=20=E7=A6=81=E7=94=A8configuration-cache?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/build-apk-for-user.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build-apk-for-user.yml b/.github/workflows/build-apk-for-user.yml index 9d6f44cd4..3728f120f 100644 --- a/.github/workflows/build-apk-for-user.yml +++ b/.github/workflows/build-apk-for-user.yml @@ -39,10 +39,14 @@ jobs: echo "清空18PlusList.txt" echo "" > $GITHUB_WORKSPACE/app/src/main/assets/18PlusList.txt + - name: Remove Aliyun mirrors (unreliable in CI) + run: | + sed -i '/maven.aliyun.com/d' settings.gradle + - name: Build Debug APK run: | chmod +x gradlew - ./gradlew assembleAppDebug --no-daemon + ./gradlew assembleAppDebug --no-daemon --no-configuration-cache env: COMMIT_NUMBER: ${{ github.run_number }} APP_VERSION_NAME: debug-${{ github.run_number }}