|
|
@ -22,7 +22,7 @@ jobs: |
|
|
|
uses: actions/setup-java@v1 |
|
|
|
uses: actions/setup-java@v1 |
|
|
|
with: |
|
|
|
with: |
|
|
|
java-version: 1.8 |
|
|
|
java-version: 1.8 |
|
|
|
- name: remove 18plus |
|
|
|
- name: clear 18PlusList.txt |
|
|
|
run: | |
|
|
|
run: | |
|
|
|
echo "">$GITHUB_WORKSPACE/app/src/main/assets/18PlusList.txt |
|
|
|
echo "">$GITHUB_WORKSPACE/app/src/main/assets/18PlusList.txt |
|
|
|
- name: release apk sign |
|
|
|
- name: release apk sign |
|
|
@ -34,10 +34,10 @@ jobs: |
|
|
|
sed '$a\RELEASE_KEY_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/build.gradle -i |
|
|
|
sed 's/.release/.releaseA/g' $GITHUB_WORKSPACE/app/google-services.json -i |
|
|
|
sed 's/.release/.releaseA/g' $GITHUB_WORKSPACE/app/google-services.json -i |
|
|
|
- name: Build with Gradle |
|
|
|
- name: build with gradle |
|
|
|
run: | |
|
|
|
run: | |
|
|
|
chmod +x gradlew |
|
|
|
chmod +x gradlew |
|
|
|
./gradlew assembleRelease |
|
|
|
./gradlew aR |
|
|
|
- name : upload apk |
|
|
|
- name : upload apk |
|
|
|
uses: actions/upload-artifact@master |
|
|
|
uses: actions/upload-artifact@master |
|
|
|
if: always() |
|
|
|
if: always() |
|
|
|