Merge pull request #1272 from o0HalfLife0o/master

去除cronet的测试编译
pull/1273/head 3.21.082519
kunfei 3 years ago committed by GitHub
commit 305e6e8bb4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      .github/workflows/release.yml
  2. 8
      .github/workflows/test.yml

@ -48,9 +48,7 @@ jobs:
run: | run: |
echo "开始进行release构建" echo "开始进行release构建"
chmod +x gradlew chmod +x gradlew
./gradlew assembleAppRelease --build-cache --parallel ./gradlew assembleRelease --build-cache --parallel
echo "开始进行cronet构建"
./gradlew assembleCronetRelease --build-cache --parallel
- name: Organize the Files - name: Organize the Files
run: | run: |
mkdir -p ${{ github.workspace }}/apk/ mkdir -p ${{ github.workspace }}/apk/

@ -53,9 +53,7 @@ jobs:
run: | run: |
echo "开始进行release构建" echo "开始进行release构建"
chmod +x gradlew chmod +x gradlew
./gradlew assembleAppRelease --build-cache --parallel ./gradlew assembleRelease --build-cache --parallel
echo "开始进行cronet构建"
./gradlew assembleCronetRelease --build-cache --parallel
echo "修改文件名" echo "修改文件名"
mkdir -p ${{ github.workspace }}/apk/ mkdir -p ${{ github.workspace }}/apk/
for file in `ls ${{ github.workspace }}/app/build/outputs/apk/*/*/*.apk`; do for file in `ls ${{ github.workspace }}/app/build/outputs/apk/*/*/*.apk`; do
@ -72,9 +70,7 @@ jobs:
run: | run: |
echo "开始进行release构建" echo "开始进行release构建"
chmod +x gradlew chmod +x gradlew
./gradlew assembleAppRelease --build-cache --parallel ./gradlew assembleRelease --build-cache --parallel
echo "开始进行cronet构建"
./gradlew assembleCronetRelease --build-cache --parallel
echo "修改文件名" echo "修改文件名"
for file in `ls ${{ github.workspace }}/app/build/outputs/apk/*/*/*.apk`; do for file in `ls ${{ github.workspace }}/app/build/outputs/apk/*/*/*.apk`; do
mv "$file" ${{ github.workspace }}/apk/`echo "$file"|sed 's/.*\/\(.*\)\(\.apk\)$/\1_共存\2/'` mv "$file" ${{ github.workspace }}/apk/`echo "$file"|sed 's/.*\/\(.*\)\(\.apk\)$/\1_共存\2/'`

Loading…
Cancel
Save