Skip to content

Commit c769f97

Browse files
authored
update
1 parent b78435d commit c769f97

File tree

1 file changed

+1
-10
lines changed

1 file changed

+1
-10
lines changed

action_app_build.sh

+1-10
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,7 @@ function app_build()
55
{
66
debug "build with gradle"
77
cd $APP_WORKSPACE
8-
chmod +x gradlew
9-
10-
debug "加入Play版功能"
11-
[[ "$APP_NAME" == "legado" ]] && find $APP_WORKSPACE/app/src -regex '.*/help/AppConfig.kt' -exec \
12-
sed '/val isGooglePlay/c\val isGooglePlay = true' {} -i \;
13-
8+
chmod +x gradlew
149
./gradlew assembleAppRelease --build-cache --parallel
1510

1611
APP_BUILD_APK=$(find $APP_WORKSPACE/app/build -regex .*/app/release/.*.apk)
@@ -21,8 +16,4 @@ function app_build()
2116
debug "upload apk dir ${APP_BUILD_APK%/*}"
2217
fi
2318

24-
if [[ "$APP_NAME" == "legado" ]]; then
25-
./gradlew assembleCronetRelease
26-
set_env CRONET_BUILD_APK $(find $APP_WORKSPACE/app/build -regex .*/cronet/release/.*.apk)
27-
fi
2819
}

0 commit comments

Comments
 (0)