|
|
|
@ -50,6 +50,9 @@ jobs: |
|
|
|
|
echo "设置apk共存" |
|
|
|
|
sed "s/'.release'/'.releaseA'/" $GITHUB_WORKSPACE/app/build.gradle -i |
|
|
|
|
sed 's/.release/.releaseA/' $GITHUB_WORKSPACE/app/google-services.json -i |
|
|
|
|
echo "统一版本号" |
|
|
|
|
version=$(date -d "8 hour" -u +3.%y.%m%d%H%M) |
|
|
|
|
sed "/def version/c def version = \"$version\"" $GITHUB_WORKSPACE/app/build.gradle -i |
|
|
|
|
- name: Build With Gradle |
|
|
|
|
run: | |
|
|
|
|
echo "开始进行release构建" |
|
|
|
|