Merge pull request #284 from 10bits/master

release apk增加签名
pull/289/head
kunfei 4 years ago committed by GitHub
commit b93d8263fd
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 sudo apt-get -y install git
- name: clone code - name: clone code
run: | 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 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 - name: Build with Gradle
run: | run: |
cd /opt/legado cd /opt/legado

Loading…
Cancel
Save