release apk增加签名

pull/284/head
10bits 4 years ago committed by GitHub
parent c690679db3
commit 7d8491bcd7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 10
      .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

Loading…
Cancel
Save