|
|
|
@ -28,12 +28,12 @@ jobs: |
|
|
|
|
- name: release apk sign |
|
|
|
|
run: | |
|
|
|
|
cp $GITHUB_WORKSPACE/.github/workflows/legado.jks $GITHUB_WORKSPACE/app/legado.jks |
|
|
|
|
sed '$a\RELEASE_STORE_FILE=./legado.jks' $GITHUB_WORKSPACE/gradle.properties -i |
|
|
|
|
sed '$a\RELEASE_KEY_ALIAS=legado' $GITHUB_WORKSPACE/gradle.properties -i |
|
|
|
|
sed '$a\RELEASE_STORE_PASSWORD=gedoor_legado' $GITHUB_WORKSPACE/gradle.properties -i |
|
|
|
|
sed '$a\RELEASE_KEY_PASSWORD=gedoor_legado' $GITHUB_WORKSPACE/gradle.properties -i |
|
|
|
|
sed "s/'.release'/'.releaseA'/" $GITHUB_WORKSPACE/app/build.gradle -i |
|
|
|
|
sed 's/.release/.releaseA/g' $GITHUB_WORKSPACE/app/google-services.json -i |
|
|
|
|
sed '$a\RELEASE_STORE_FILE=./legado.jks' $GITHUB_WORKSPACE/gradle.properties -i |
|
|
|
|
sed '$a\RELEASE_KEY_ALIAS=legado' $GITHUB_WORKSPACE/gradle.properties -i |
|
|
|
|
sed '$a\RELEASE_STORE_PASSWORD=gedoor_legado' $GITHUB_WORKSPACE/gradle.properties -i |
|
|
|
|
sed '$a\RELEASE_KEY_PASSWORD=gedoor_legado' $GITHUB_WORKSPACE/gradle.properties -i |
|
|
|
|
sed "s/'.release'/'.releaseA'/" $GITHUB_WORKSPACE/app/build.gradle -i |
|
|
|
|
sed 's/.release/.releaseA/' $GITHUB_WORKSPACE/app/google-services.json -i |
|
|
|
|
- name: build with gradle |
|
|
|
|
run: | |
|
|
|
|
chmod +x gradlew |
|
|
|
|