fix(android): release build fails due to tar v7 incompatibility with Capacitor CLI

This commit is contained in:
plebeius
2026-01-25 17:02:07 +08:00
parent d86637200b
commit eda8b5ed86
2 changed files with 4 additions and 6 deletions
+1 -2
View File
@@ -164,8 +164,7 @@ jobs:
- run: sed -i "s/versionName \"1.0\"/versionName \"$(node -e "console.log(require('./package.json').version)")\"/" ./android/app/build.gradle
- run: cat ./android/app/build.gradle
# build apk
- run: npx cap update
- run: npx cap copy
- run: npx cap sync android
- run: cd android && gradle bundle
- run: cd android && ./gradlew assembleRelease
# optimize apk