diff --git a/.github/workflows/legado.yml b/.github/workflows/legado.yml index 56df1a1b2..46d17a7a0 100644 --- a/.github/workflows/legado.yml +++ b/.github/workflows/legado.yml @@ -26,8 +26,16 @@ jobs: sudo apt-get -y install git - name: clone code run: | - git clone --depth=1 https://github.com/gedoor/legado.git /opt/legado + git clone https://github.com/gedoor/legado.git /opt/legado echo "ojbk">/opt/legado/app/src/main/assets/18PlusList.txt + - name: release apk sign + run: | + git clone https://github.com/10bits/gedoor-Build.git /opt/gedoor-Build + cp /opt/gedoor-Build/.github/workflows/legado.jks /opt/legado/app/legado.jks + sed '$a\RELEASE_STORE_FILE=./legado.jks' /opt/legado/gradle.properties -i + sed '$a\RELEASE_KEY_ALIAS=legado' /opt/legado/gradle.properties -i + sed '$a\RELEASE_STORE_PASSWORD=gedoor_legado' /opt/legado/gradle.properties -i + sed '$a\RELEASE_KEY_PASSWORD=gedoor_legado' /opt/legado/gradle.properties -i - name: Build with Gradle run: | cd /opt/legado