diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 6a2e9588a..e142d56bc 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -48,9 +48,7 @@ jobs: run: | echo "开始进行release构建" chmod +x gradlew - ./gradlew assembleAppRelease --build-cache --parallel - echo "开始进行cronet构建" - ./gradlew assembleCronetRelease --build-cache --parallel + ./gradlew assembleRelease --build-cache --parallel - name: Organize the Files run: | mkdir -p ${{ github.workspace }}/apk/ diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 1f704f329..9c62d0be3 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -53,9 +53,7 @@ jobs: run: | echo "开始进行release构建" chmod +x gradlew - ./gradlew assembleAppRelease --build-cache --parallel - echo "开始进行cronet构建" - ./gradlew assembleCronetRelease --build-cache --parallel + ./gradlew assembleRelease --build-cache --parallel echo "修改文件名" mkdir -p ${{ github.workspace }}/apk/ for file in `ls ${{ github.workspace }}/app/build/outputs/apk/*/*/*.apk`; do @@ -72,9 +70,7 @@ jobs: run: | echo "开始进行release构建" chmod +x gradlew - ./gradlew assembleAppRelease --build-cache --parallel - echo "开始进行cronet构建" - ./gradlew assembleCronetRelease --build-cache --parallel + ./gradlew assembleRelease --build-cache --parallel echo "修改文件名" for file in `ls ${{ github.workspace }}/app/build/outputs/apk/*/*/*.apk`; do mv "$file" ${{ github.workspace }}/apk/`echo "$file"|sed 's/.*\/\(.*\)\(\.apk\)$/\1_共存\2/'`