diff --git a/.github/workflows/android.yml b/.github/workflows/android.yml index 0a08e89cc54a..02c9259506af 100644 --- a/.github/workflows/android.yml +++ b/.github/workflows/android.yml @@ -2,9 +2,9 @@ name: Android CI on: push: - branches: [ "master" ] + branches: [ "ppp" ] pull_request: - branches: [ "master" ] + branches: [ "ppp" ] jobs: build: diff --git a/README.md b/README.md index e1c5be5c3c5a..bfb51389d4c9 100644 --- a/README.md +++ b/README.md @@ -8,13 +8,13 @@ https://afdian.com/a/manong Donation ## How to Build -## 如何编译 +## 如何编译3 ### If your are familiar with Android development: * Fork this repository. * Replace `keystore/demokeystore.jks` with your own key store file. * Add below secrets in the `Actions secrets and variables` settings of your repository. -Screenshot of Actions secrets + Screenshot of Actions secrets `KEY_ALIAS`: Key alais of your key store file. `KEY_PASSWORD`: key password of your key store file. `STORE_FILE`: Path of your key store file in your repository. @@ -26,7 +26,7 @@ https://afdian.com/a/manong * 克隆此代码仓库到你自己的Github账号 * 用你自己的安卓签名文件替换你克隆的仓库中的`keystore/demokeystore.jks` * 在你克隆的仓库设置中的 `Actions secrets and variables` 选项中添加如下秘密环境变量: -Screenshot of Actions secrets + Screenshot of Actions secrets `KEY_ALIAS`: 你的安卓签名文件的key alias。 `KEY_PASSWORD`: 你的安卓签名文件的key密码。 `STORE_FILE`: 你的安卓签名文件的路径。 @@ -43,7 +43,7 @@ Please follow these steps: WeChat Channel QR code * Join the WeChat group and ask for the secrets. (Get the WeChat group QR code form the middle menu of "一型码农Lex" WeChat Channel. Scan to join.) * Add below secrets in the `Actions secrets and variables` settings of your repository. -Screenshot of Actions secrets + Screenshot of Actions secrets `KEY_ALIAS`, `KEY_PASSWORD`, `STORE_FILE`, `STORE_PASSWORD`. * Trigger build in Github Actions * Download the `aaps.zip` file in `Artifacts` @@ -57,7 +57,7 @@ Please follow these steps: WeChat Channel QR code * 点击“一型码农Lex”微信公众号的中间菜单,获取入群二维码。进去索要签名文件的密码。 * 在你克隆的仓库设置中的 `Actions secrets and variables` 选项中添加如下秘密环境变量: -Screenshot of Actions secrets + Screenshot of Actions secrets `KEY_ALIAS`, `KEY_PASSWORD`, `STORE_FILE`, `STORE_PASSWORD`,这些变量的值都在群中。 * 在Github Actions中触发编译 * 下载`Artifacts`中的编译产物`aaps.zip` diff --git a/keystore/keystore.properties b/keystore/keystore.properties index b5a089fb1844..18b6cb48cb1c 100644 --- a/keystore/keystore.properties +++ b/keystore/keystore.properties @@ -1,4 +1,4 @@ storePassword= keyPassword= keyAlias= -storeFile=../keystore/demokeystore.jks +storeFile=../keystore/release.jks diff --git a/keystore/release.jks b/keystore/release.jks new file mode 100644 index 000000000000..e0c4904a99e1 Binary files /dev/null and b/keystore/release.jks differ