Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ name: Android CI

on:
push:
branches: [ "master" ]
branches: [ "ppp" ]
pull_request:
branches: [ "master" ]
branches: [ "ppp" ]

jobs:
build:
Expand Down
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@ https://afdian.com/a/manong
<a href="/Documentation/donation.jpg"><img src="/Documentation/donation.jpg?raw=true" alt="Donation" width="300"></a>

## 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.
<a href="/Documentation/screen1.png"><img src="/Documentation/screen1.png?raw=true" alt="Screenshot of Actions secrets" width="800"></a>
<a href="/Documentation/screen1.png"><img src="/Documentation/screen1.png?raw=true" alt="Screenshot of Actions secrets" width="800"></a>
`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.
Expand All @@ -26,7 +26,7 @@ https://afdian.com/a/manong
* 克隆此代码仓库到你自己的Github账号
* 用你自己的安卓签名文件替换你克隆的仓库中的`keystore/demokeystore.jks`
* 在你克隆的仓库设置中的 `Actions secrets and variables` 选项中添加如下秘密环境变量:
<a href="/Documentation/screen1.png"><img src="/Documentation/screen1.png?raw=true" alt="Screenshot of Actions secrets" width="800"></a>
<a href="/Documentation/screen1.png"><img src="/Documentation/screen1.png?raw=true" alt="Screenshot of Actions secrets" width="800"></a>
`KEY_ALIAS`: 你的安卓签名文件的key alias。
`KEY_PASSWORD`: 你的安卓签名文件的key密码。
`STORE_FILE`: 你的安卓签名文件的路径。
Expand All @@ -43,7 +43,7 @@ Please follow these steps:
<a href="/Documentation/wechat_qr.png"><img src="/Documentation/wechat_qr.png?raw=true" alt="WeChat Channel QR code" width="340"></a>
* 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.
<a href="/Documentation/screen1.png"><img src="/Documentation/screen1.png?raw=true" alt="Screenshot of Actions secrets" width="800"></a>
<a href="/Documentation/screen1.png"><img src="/Documentation/screen1.png?raw=true" alt="Screenshot of Actions secrets" width="800"></a>
`KEY_ALIAS`, `KEY_PASSWORD`, `STORE_FILE`, `STORE_PASSWORD`.
* Trigger build in Github Actions
* Download the `aaps.zip` file in `Artifacts`
Expand All @@ -57,7 +57,7 @@ Please follow these steps:
<a href="/Documentation/wechat_qr.png"><img src="/Documentation/wechat_qr.png?raw=true" alt="WeChat Channel QR code" width="340"></a>
* 点击“一型码农Lex”微信公众号的中间菜单,获取入群二维码。进去索要签名文件的密码。
* 在你克隆的仓库设置中的 `Actions secrets and variables` 选项中添加如下秘密环境变量:
<a href="/Documentation/screen1.png"><img src="/Documentation/screen1.png?raw=true" alt="Screenshot of Actions secrets" width="800"></a>
<a href="/Documentation/screen1.png"><img src="/Documentation/screen1.png?raw=true" alt="Screenshot of Actions secrets" width="800"></a>
`KEY_ALIAS`, `KEY_PASSWORD`, `STORE_FILE`, `STORE_PASSWORD`,这些变量的值都在群中。
* 在Github Actions中触发编译
* 下载`Artifacts`中的编译产物`aaps.zip`
2 changes: 1 addition & 1 deletion keystore/keystore.properties
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
storePassword=
keyPassword=
keyAlias=
storeFile=../keystore/demokeystore.jks
storeFile=../keystore/release.jks
Binary file added keystore/release.jks
Binary file not shown.
Loading