更新签名文件设置

pull/287/head
10bits 5 years ago committed by GitHub
parent 551410a30b
commit cc42eb9ab7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 9
      .github/workflows/legado.yml

@ -22,17 +22,12 @@ jobs:
uses: actions/setup-java@v1
with:
java-version: 1.8
- name: install git
run: |
sudo apt-get update
sudo apt-get -y install git
- name: remove 18plus
run: |
echo "ojbk">$GITHUB_WORKSPACE/app/src/main/assets/18PlusList.txt
echo "">$GITHUB_WORKSPACE/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 $GITHUB_WORKSPACE/app/legado.jks
cp $GITHUB_WORKSPACE/.github/workflows/legado.jks $GITHUB_WORKSPACE/app/legado.jks
sed '$a\RELEASE_STORE_FILE=./legado.jks' $GITHUB_WORKSPACE/gradle.properties -i
sed '$a\RELEASE_KEY_ALIAS=legado' $GITHUB_WORKSPACE/gradle.properties -i
sed '$a\RELEASE_STORE_PASSWORD=gedoor_legado' $GITHUB_WORKSPACE/gradle.properties -i

Loading…
Cancel
Save