From 7d8491bcd72e5224f4e39028fea7ce31c494d69b Mon Sep 17 00:00:00 2001 From: 10bits Date: Fri, 31 Jul 2020 10:20:16 +0800 Subject: [PATCH] =?UTF-8?q?release=20apk=E5=A2=9E=E5=8A=A0=E7=AD=BE?= =?UTF-8?q?=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/legado.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) 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